RE: javaScript (simple)

2002-04-26 Thread Adrian Lynch

alert("You sure matey??")

:O)

-Original Message-
From: Deborah Curley [mailto:[EMAIL PROTECTED]]
Sent: 26 April 2002 12:16
To: CF-Talk
Subject: javaScript (simple)


Hi all,
Anyone have the code readily available for an OnClick action to make sure a 
customer wants to delete the record (i.e., click the delete button, get 
prompted for whether you really want to delete and don't do the action 
unless you.

TIA,
Deb

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: javaScript (simple)

2002-04-26 Thread Stephen Galligan

Try this



Regards
Stephen
-Original Message-
From: Deborah Curley [mailto:[EMAIL PROTECTED]]
Sent: 26 April 2002 12:16
To: CF-Talk
Subject: javaScript (simple)


Hi all,
Anyone have the code readily available for an OnClick action to make sure a 
customer wants to delete the record (i.e., click the delete button, get 
prompted for whether you really want to delete and don't do the action 
unless you.

TIA,
Deb

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com



__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: javaScript (simple)

2002-04-26 Thread Neil Clark - =TMM=

var conf = confirm('you sure?'); 

should do it... well it will give an OK and Cancel option, you will then
to have to check if it was OK or cancel

by if(conf)

HTH

Neil

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: javaScript (simple)

2002-04-26 Thread nagraj

Hi Deborah Curley,

Try this out.




 test
















Regards
Nagaraj.A

- Original Message -
From: "Deborah Curley" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 4:45 PM
Subject: javaScript (simple)


> Hi all,
> Anyone have the code readily available for an OnClick action to make sure
a
> customer wants to delete the record (i.e., click the delete button, get
> prompted for whether you really want to delete and don't do the action
> unless you.
>
> TIA,
> Deb
>
> _
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
> 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: javaScript (simple)

2002-04-26 Thread Adrian Lynch

http://www.shiningstar.net/articles/articles/javascript/confirmsubmit.asp?ID
=ROLLA

-Original Message-
From: nagraj [mailto:[EMAIL PROTECTED]]
Sent: 26 April 2002 12:52
To: CF-Talk
Subject: Re: javaScript (simple)


Hi Deborah Curley,

Try this out.




 test


<!--
function checkdelete()
{
 if (confirm("Are You sure to Perform Delete or not"))
 {
  alert("Yes Go for Deleting to the next form");
document.frm.submit();
 }

}
//-->













Regards
Nagaraj.A

- Original Message -
From: "Deborah Curley" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 4:45 PM
Subject: javaScript (simple)


> Hi all,
> Anyone have the code readily available for an OnClick action to make sure
a
> customer wants to delete the record (i.e., click the delete button, get
> prompted for whether you really want to delete and don't do the action
> unless you.
>
> TIA,
> Deb
>
> _
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
> 

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: javaScript (simple)

2002-04-26 Thread mynews

This is what I use:






and in the link:




BJ






= = = Original message = = =

var conf = confirm('you sure?'); 

should do it... well it will give an OK and Cancel option, you 
will then
to have to check if it was OK or cancel

by if(conf)

HTH

Neil


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: javaScript (simple)

2002-04-26 Thread David DiPietro

I do it this way


function confirmDuplication(type,ID)
{
  var msg = "\n You are about to COPY\n\n"+
" **\n"+
" "+type+" \n" +
" **\n\n"+
"FROM:   "+ID+"\n\n" +
" TO:   Its Immediate Sub-Events\n\n" +
"Are you sure that is what you intend to do?"

  if (confirm(msg))
  {  window.location="../actions/act_ActionPage.cfm;  }
}


do this

David DiPietro
Systems Developer / Engineer
OSU College of Medicine & Public Health
Voice (614) 292-5960
Fax (614) 292-0745


-Original Message-
From: Deborah Curley [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 7:16 AM
To: CF-Talk
Subject: javaScript (simple)


Hi all,
Anyone have the code readily available for an OnClick action to make sure a 
customer wants to delete the record (i.e., click the delete button, get 
prompted for whether you really want to delete and don't do the action 
unless you.

TIA,
Deb

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists