lakeside12
Programmer
Hi,
I have a question on window open events
I have an event that calls a function on a mouse event and it works fine
The function is this
function SureTab()
{
window.open('MyURL?zip=<%=request.querystring("Zip") %>')
}
</script>
I have 2 problems, first I was trying to pass in the value of a field, but did not know how, so I used ASP code and that did not work either. How do I do that in Javascrip?
Second question, this windows when it opens takes control from the previous window. Is it possible to open a window and not have it the dominant window. In this case in tests it opens 99% of times as a browser TAB which is perfect, but I do not want control passed to it, I want to stay on the current window. How do I do that?
Many thanks for your help
I have a question on window open events
I have an event that calls a function on a mouse event and it works fine
The function is this
function SureTab()
{
window.open('MyURL?zip=<%=request.querystring("Zip") %>')
}
</script>
I have 2 problems, first I was trying to pass in the value of a field, but did not know how, so I used ASP code and that did not work either. How do I do that in Javascrip?
Second question, this windows when it opens takes control from the previous window. Is it possible to open a window and not have it the dominant window. In this case in tests it opens 99% of times as a browser TAB which is perfect, but I do not want control passed to it, I want to stay on the current window. How do I do that?
Many thanks for your help