-
DHTML Window widget - resets URL page
1) Script Title: DHTML Window widget (v1.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm
3) Describe problem:
When refering to window, the page automatically resets to initial URL.
For example:
I open a page:
top.myWindow=top.dhtmlwindow.open('myWindow','iframe', 'http://www.google.ca/search?q=dhtml', theGoogleWindow, 'width=750px,height=500px,resize=1,scrolling=1,center=1');
And then with code I change the form value:
document.getElementById("_iframe-myWindow").contentWindow.document.forms[0].q.value = "Dynamic Drive";
The form updates and replaces "dhtml" wtih "Dynamic Drive" and then immediately resets back to the original URL ('http://www.google.ca/search?q=dhtml)
How do I stop it from resetting? It seem only to be a problem if I add the ?q=dhtml URL Parameter (which is required on my app).
thanks
gordon
-
-
Are you saying when you try and change a form value inside the DHTML window, the entire window's URL actually changes to another? I don't see how one can lead to another. Please post a link to the page on your site that contains the problematic script so we can check it out.
DD Admin
-
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