PDA

View Full Version : canīt put a value on server side


atferraz
09-17-2004, 08:54 PM
on a page I've a button and an iframe. when I press that button, on click event has :document.getElementById("iframeID").src="mypage.asp?test=xpt"

on mypage.asp I've

test=request.queryString("test");
response.write test
response.end()

the iframe loads the page, but test is empty.

Roy Sinclair
09-17-2004, 09:06 PM
Try: document.getElementById("iframeID").href="mypage.asp?test=xpt"

atferraz
09-18-2004, 12:13 AM
worked, thanks