HighDots Forums  

Re: onclick, can you have 2 instances on one form button?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: onclick, can you have 2 instances on one form button? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mick White
 
Posts: n/a

Default Re: onclick, can you have 2 instances on one form button? - 08-03-2004 , 04:21 PM






How about?

onclick =
"if(window.confirm('Are you sure you want to delete?')){
document.pr.ac.value='delete';document.pr.submit() ;
}" >

Mick
forums.macromedia.com wrote:

Quote:
Hi there,

I wondered if you are allowed 2 onclick events on one form button like this:

print "<input type=\"button\" class=\"button\" value=\"Delete this entry\"
onclick=\"MM_popupMsg('Are you sure you want to delete?')\"
onclick=\"document.pr.ac.value='delete';document.p r.submit();\">";

Thanks



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.