Dean
02-03-2003, 04:36 PM
Hi there
I am trying to get a windows confirm action box to popup and the person clicks yes then it gives them save page box if they click no then it simply dissapears.
this is the code i have now which gives me the popup but no matter what you click you then cet the save a page box.
<a href="javascript:doSaveAs()" onClick="confirm('To save this article change the file name from press_release.asp to press_release.htm')">Save this Article</a>
Can anyone give me a script or correct the mess of a code i have and give me a solution for this problem.
Also is there any way to change the graphic that appears in the message boxs. so instead of the question mark graphic appearing on a confirm box i can swop this for my logo for the site i working on at the moment..
all sugestions welcome.
:thumbsup: :confused: :confused: :thumbsup:
I am trying to get a windows confirm action box to popup and the person clicks yes then it gives them save page box if they click no then it simply dissapears.
this is the code i have now which gives me the popup but no matter what you click you then cet the save a page box.
<a href="javascript:doSaveAs()" onClick="confirm('To save this article change the file name from press_release.asp to press_release.htm')">Save this Article</a>
Can anyone give me a script or correct the mess of a code i have and give me a solution for this problem.
Also is there any way to change the graphic that appears in the message boxs. so instead of the question mark graphic appearing on a confirm box i can swop this for my logo for the site i working on at the moment..
all sugestions welcome.
:thumbsup: :confused: :confused: :thumbsup: