Title: Reference elements in dialogue Post by: jkdoyle on May 18, 2017, 09:43:17 AM How do I reference elements in dialogues?
For example I use: Code: $('#my_modal').dialog({ To load a search form, and now I want to use scripting to add combobox values to an input with id "search_field" or name "search_value" in the dialogue. How do I make the reference $('#search_field').combo(); doesn't work. Title: Re: Reference elements in dialogue Post by: stworthy on May 20, 2017, 01:46:18 AM You must wait the dialog content to be loaded successfully before calling $('#search_field').
Code: $('#my_modal').dialog({ |