Modify ↓
Ticket #3418 (closed bug: invalid)
why can't fields in table disabled?
| Reported by: | hzasp | Owned by: | flesler |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | unfiled | Version: | 1.2.6 |
| Keywords: | attr | Cc: | hzasp, flesler |
| Blocking: | Blocked by: |
Description
the js code: $("form").children().attr("disabled", "disabled");
the html code: successed:------------------------ <form>
<input type="text" > <input type="text" > <textarea></textarea> <input type="submit">
</form>
while failed:-------------------- <form>
<table> <tr><td>
<input type="text" > </td></tr>
<tr><td>
<input type="text"> </td></tr>
<tr><td>
<textarea></textarea> </td></tr>
<tr><td>
<input type="submit"> </td></tr>
</table> </form>
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

They just can't. There's no special behavior for a disabled table.