Hello, Currently I have an html form - which I call with jquery dialog - to insert new records into a table. But I also would like to update existing records with the same form - using jquery dialog. I'm not sure within the dialog how I access these data values - or pass them in as arguments - and hook them up with the form elements...? Anyone has done this before and knows an agile technique to do this? kind regards, Patrick
A:
If you are using Jquery UI dialog then you can access any element in the page as if it is not a dialog. Jquery UI dialog makes a div a dialog by making it invisible ("display:none"), adds the proper widget items and shows it when u call dialog("open"). So you can access any element in the page since it is just a div in your page.
HTH
Raja
2010-05-24 14:48:37
Hi Raja, thanks for the explanation.
Patrick
2010-06-01 06:11:04