> From: as as [mailto:[EMAIL PROTECTED] 
> I want to show a pop up (delete confirmation in my page) when 
> user clicks on delete button.The pop up will show "Are you 
> sure you want to delte-yes or no"
> If user clicks on yes, then my page should set a page 
> variable names "dispatch" to "delete".ANd then call my form's 
> post action, which will route it to the next page...
> how do i accomplish these two tasks for the onlye one button click?

This is really a JavaScript question, and you'll get far more help in a
forum dedicated to that language.  

But it looks like all you need to do is add:
   document.forms[0].submit();
inside the ending } of your 'set' function.  And perhaps change its name
to something more descriptive.

This assumes you always want to submit the form, even if they say 'no'
to the question.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to