0
  <td role="gridcell">input</td>
  <td role="gridcell">1</td>
  <td role="gridcell">
    <input class="remove1" type="button" value="▼" style="margin: 4px">
    <input id="Txt_test" class="txtBox" type="textbox" value="220" style="margin: 4px">
    <input class="Add1" type="button" value="▲" style="margin: 4px">   
    </td>
  <td style="display:none" role="gridcell">
  </td>
    
  </tr>
  <tr class="k-alt" role="row">
    <td role="gridcell">input</td>
    <td role="gridcell">2</td><td role="gridcell">
    <input class="remove1" type="button" value="▼" style="margin: 4px">
    <input id="Txt_test" class="txtBox" type="textbox" value="59" style="margin: 4px">
    <input class="Add1" type="button" value="▲" style="margin: 4px">
      
    </td>
    </tr>
      
    </tbody> 

top was my out put Html

Then i using JQuery to change below code to disable or readonly but it didn't work!

<input id="Txt_test" class="txtBox" type="textbox" value="220" style="margin: 4px">

I Try on JQuery

$("#Txt_test").attr('disabled', true);

and

$("#Txt_test").prop('readonly', true);

I have change input type="text" same error for me.

Howard
  • 109
  • 2
  • 11

0 Answers0