"Baffin Shea" <> writes:
> Everytime after the script is run, the original.asp will refresh itself and
> the browser will go back to the top, there is something new at the tail of
> url likes original.asp?x=42&y=6, the value of x and y will be different
> every refresh, is it possible to stop the refresh of orignal.asp?
It is not the function you showed us that refreshes the original.asp
page. It is most likely the method you use to call it.
My guess is that you have something like:
<input type="image" src="..." onclick="NewWindows()">
or perhaps the call to NewWindows is inside an image map.
In any case, you should stop the click that activate NewWindows from
having its normal effect. You do that by adding a "return false"
at the end of the onclick attribute:
onclick="NewWindows();return false;"
/L
--
Lasse Reichstein Nielsen -
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'