Opened 14 years ago

Closed 14 years ago

Last modified 10 years ago

#4643 closed bug (worksforme)

Cannot access dynamicly added fields

Reported by: Paladin76 Owned by:
Priority: major Milestone:
Component: ui.dialog Version: 1.7.2
Keywords: dynamic, input, fields, select Cc:
Blocked by: Blocking:


I dynamicly add some fields like input fields with jquery and want to access these field later on with jquery. But, the values of this fields cannot be accessed, i always get 'undefined' as value, what is not correct.

Example: I have a select-box, when a user selects one entry, a jquery-dialog opens with some data, related to the selection. Now, this data in the dialog first is normal text, but when the user clicks on a 'edit'-Link in the dialog, the static-text is replaced with input-fields, using the $('span#something').html('<input name="somewhat" value="test">'); Now, when the user now klicks on a 'submit' Link, i cannot read the values of 'input#somewhat' with jquery.

When i place the input field fixed in the page, so it is there on load, all works, but that is not, what i want or need.

This is very bad, please fix that!!!

Change History (2)

comment:1 Changed 14 years ago by Scott González

Component: ui.coreui.dialog
Resolution: worksforme
Status: newclosed

Please provide an actual demo if you continue to have problems.

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.