J
Jacqui
Hi,
I am trying to write a webpage that has a form on it, which gets
submitted when a button is pressed, but also has an onclick event
which does some DOM manipulation to display a waiting page.
The issue that I am facing is that in Safari, a blank screen is being
displayed rather than the waiting page. This is only happening if
there are form tags around the button
i.e., this works and brings up the waiting page:
<input type="submit" name="submit" onclick='return interstitial();'/>
whereas this does not:
<form method="get" action="<slow loading page>">
<input type="submit" name="submit" onclick='return
interstitial();'/>
</form>
This does not appear to be a problem in Firefox/IE. Has anybody else
faced this problem and would be willing to help me out with this?
Many thanks in advance,
Jacqui
I am trying to write a webpage that has a form on it, which gets
submitted when a button is pressed, but also has an onclick event
which does some DOM manipulation to display a waiting page.
The issue that I am facing is that in Safari, a blank screen is being
displayed rather than the waiting page. This is only happening if
there are form tags around the button
i.e., this works and brings up the waiting page:
<input type="submit" name="submit" onclick='return interstitial();'/>
whereas this does not:
<form method="get" action="<slow loading page>">
<input type="submit" name="submit" onclick='return
interstitial();'/>
</form>
This does not appear to be a problem in Firefox/IE. Has anybody else
faced this problem and would be willing to help me out with this?
Many thanks in advance,
Jacqui