Hello All,
I have a simple page that has a form on it. At first I did it in javascript which is probably best but I am very new to javascript. Basically it took the info in the form and opened a window with the information.
I have now done this in PHP but to get the window to open with a javascript window.open I had to call it from the body with an onLoad event. So I got all the info with PHP and then opened the window with javascript. The problem is that by using it as a onLoad event the window is now considered a popup by my popup blocker. When it was called with the onsubmit function when I had it in javascript there was not a problem. Is there anyway around this?
- Zych
I have a simple page that has a form on it. At first I did it in javascript which is probably best but I am very new to javascript. Basically it took the info in the form and opened a window with the information.
I have now done this in PHP but to get the window to open with a javascript window.open I had to call it from the body with an onLoad event. So I got all the info with PHP and then opened the window with javascript. The problem is that by using it as a onLoad event the window is now considered a popup by my popup blocker. When it was called with the onsubmit function when I had it in javascript there was not a problem. Is there anyway around this?
- Zych