I am loading an html page into a UI dialog box. The html page has links and a form on it. Id like to keep the links and form submission inside the UI dialog box, basically load the links, and the submit() contained in the dialog.
Im having trouble doing this. I have jquery code in the loaded html, to handle the link clicks, but it looks like the Javascript doesnt load into the page. Do i need to keep all that code on the main page that creates the dialog boxes?
Thanks for your help!