-
DHTML Windows Widget & embedded javascript
1) Script Title: DHTML Window Widget
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm
3) Describe problem: javascript in ajax popup window does not fire.
Sample app calls an ajax popup window and populates it from some.html.
For the sake of simplicity, the pertinent part of some.html contents are show below
<body onLoad="alert('X');">
<p>Test</p>
<script Language="Javascript">
alert('Hello');
alert('Goodbye');
</script>
<p>End of Test</P>
</body>
The code works fine when called into a normal browser window, but when called into an Ajax popup window - none of the alerts are shown; yet if I embed
<input type="text" onFocus="alert('Hi')"/>
the alert pop appears fine when then cursor moves to the input box.
Any ideas, oh wise and enlightened ensemble ?
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks