Skip to main content

Search and Top Navigation

#4643 closed bug (worksforme)

Opened June 29, 2009 04:36PM UTC

Closed July 03, 2009 09:21PM UTC

Last modified October 11, 2012 09:15PM UTC

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:
Description

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!!!

Attachments (0)
Change History (2)

Changed July 03, 2009 09:21PM UTC by scottgonzalez comment:1

component: ui.coreui.dialog
resolution: → worksforme
status: newclosed

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

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted