OZONE Asylum
Forums
DHTML/Javascript
What's violated with this window.open post-ajax call?
This page's ID:
30329
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
After an AJAX call to the server, I wish to display the echoed results in a pop up window. Here's the segment handling the echo: [b]if (http.readyState == 4) { results = http.responseText.split(","); sesswin=window.open('sessionwindow.html','sessscr','height=300,width=350'); var tmp = sesswin.document; tmp.write('<html><head><title>Session Report</title>'); ... tmp.write('</p></body></html>'); tmp.close(); if (window.focus) {tmp.focus()} }[/b] Why won't this work? Why is the "tmp = ..." line of code giving me a "undefined value" error?
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »