Ticket #10239 (closed feature: invalid)
div (and other non-input elements?) .val no work. suckage.
|Reported by:||fbastage@…||Owned by:||fbastage@…|
Possibly intentional on your part, but in 1.6.3 div does not return .attr("value") when calling .val()
$('#div_id').val(); // returns "" $('#div_id').attr("value"); // returns contents of value attr
this is annoying, but vastly better than 1.6.1 in which
$('#div_id').attr("value"); // also returns ""
PLEASE consider returning .attr("value") for .val() on divs and other non-input elements.
- Owner set to fbastage@…
- Priority changed from undecided to low
- Status changed from new to pending
- Component changed from unfiled to attributes