[jQuery] IE: call function defined in ajax loaded page
Hello everyone,
In one of my projects I use simplemodal to show an ajax loaded dialog.
The HTML page loaded by the ajax call defines a javascript function
setup_dialog() that I use to initialize some functions specific to
that page. In the simplemodal callback onShow I call setup_dialog().
This setup works perfectly in Firefox, in IE on the other hand (you
already know where this is going :)) the function setup_dialog() is
undefined.
I tried replacing setup_dialog() with the jquery $(document).ready()
function but to no avail.
Am I trying to do the impossible in IE?
Kind regards,
Michael