jQuery Dialog and JavaScript
I've got a problem with jQuery Dialog and some Javascript events on it. The dialog is a form to fill out and on the form I've got a few <select> dropdowns that are hidden until a checkbox is selected. The event handler is done by jQuery .click() event.
All works well the
first time you open the dialog. The second time you open the dialog (without refreshing the whole page), the .click() event handler doesn't seem to register. I changed that to good old onClick() in the element itself which worked, but then the jQuery .toggleClass() doesn't work. If I add an alert() to the script, that works fine, but none of the jQuery.
I'm guessing I need to reset something, but I'm a bit new at JavaScript and I'm just not sure what. Any clues, hints or ideas will be greatly appreciated.
Cheers!