Hi,

I am using the latest release of jqModal and jQuery to display a
custom AJAX modal pop up. This popup has to include javascript that
performs various functions.

It also needs to include some more .js files. I can get this to work
fine in Opera and FF but this fails in IE6 and I cannot call the
javascript functions in the AJAX popup. Does anyone have any
experience of this?

Quick note: The code works when the page is executed independently
without using jqModal to call it as a popup!

Here is a quick skeleton of the AJAX window that is called, am I doing
this correctly or do I need to do something special to get the JS in
this popup to execute when called via jqModal?

---------- CODE ---------

<html>
<head>
        <script type="text/javascript" src="jsToInclude.js"></script>

        <script language="JavaScript" type="text/javascript">
                function f_test(){
                        alert("JS is being Executed!");
 
document.getElementById('testing').innerHTML='TESTING';
                }
        </script>
</head>
<body>
        TEST

        <br>

        <div id="testing">
        Clicking the link above in IE should replace this text and
show an alert!
        </div>
</body>
</html>

Reply via email to