Opened 10 years ago
Closed 10 years ago
#13906 closed bug (notabug)
$('<option/>').val(value) issue
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The following code works fine for jquery-1.8.3.min + firefox-1.5 or jquery-1.9.1.min + firefox-2.0, but not for jquery-1.9.1.min + firefox-1.5:
<html> <select/> </html> <script type="text/javascript"> $(function() {
$('<option/>').val('item 1').text('item 1').appendTo($('select'));
}); </script>
Note: See
TracTickets for help on using
tickets.
We don't support Firefox 1.5/2.0 anymore, neither does Mozilla.