J
Jonathan Wood
I have an image button on my page that runs some javascript:
<asp:ImageButton runat="server" id="ImageButton3"
ImageUrl="Graphics/Help.png" AlternateText="Help"
onclientclick="javascript:ShowHelp('help_rent.aspx')" />
ShowHelp() is a function that I create that calls window.open().
It works okay--it pops up a separate help window with content from another
page--but it also refreshes the current page, which I want to prevent.
How do I stop the default behavior?
Jonathan
<asp:ImageButton runat="server" id="ImageButton3"
ImageUrl="Graphics/Help.png" AlternateText="Help"
onclientclick="javascript:ShowHelp('help_rent.aspx')" />
ShowHelp() is a function that I create that calls window.open().
It works okay--it pops up a separate help window with content from another
page--but it also refreshes the current page, which I want to prevent.
How do I stop the default behavior?
Jonathan