Confirmation window Javascript


Back to javascript.


*bb776f    (2009-04-01)
Confirmation window Javascript

Hi,

I use this small javascript to display a confirmation window before my user can go to the specified place :

<a onclick="if(window.confirm('Are you sure ?')){ location.href='destination.php'; }else{return false;}">Text</a>


My questions : Do all navigators understand this code and what happens if Javascript is not activated in the browser ?  Is there another way to display such a confirmation window ?

Thanks in advance !


See also


ficgs
More websites

You must register to see these links, as this is a collaborative page, then you may change the order of the links by clicking the icons before the titles.



admin
Other websites

The following links might be less relevant, please change their ranks if you find them useful.


 Creating interactive alert, confirm, and prompt boxes using JavaScript
javascriptkit > javatutors/alert3.shtml

 Javascript Tutorial - Confirm
tizag > javascriptT/javascriptconfirm.php

is anything but zero, then we will send the user away from...

 Creating interactive alert, confirm, and prompt boxes using JavaScript
javascriptkit > javatutors/alert2.shtml

 Confirm window in JavaScript
plus2net > javascript tutorial/window confirm.php

Submit your email address and receive article and product...

 JavaScript - Confirm pop up.
htmlite > JS006.php

Since the code is in the HEAD area, it is read and implemented...
tells the browser to load the following URL address into the current...

 Javascript Close Window
trap17 > index.php/javascript close window t29518.html),

 JavaScript for Prompt and Confirm Functions
trinity > rjensen/java/tutor03.htm

To view the entire HTML and JavaScript for this document in your...
Click here to view the Javascript function that scrolls the...

 Playing Music in a Javascript Confirm Window? [Archive] - CodingForums.com
codingforums > archive/index.php/t 52763

It still doesn't work - and the weird part is, the delay didn't do...
What will that do? Will it still play the song before the page pops...

 JavaScript Confirmation Boxes | JavaScript
webdesign > web/web programming/javascript/javascript

 confirm window? button labels to change - JavaScript / DHTML / AJAX
daniweb > forums/thread95656

No one has posted to this discussion for at least three...

 No confirmation window.close in IE7 - HighDots Forums
highdots > forums/javascript/no

Is there any kind of registry change that we can roll out on our...
Is there a better way than this in IE7 for an Intranet...

 Confirm() JavaScript Function
michael thomas > tech/javascript/ex confirm.htm

Confirm, then next web page - If you press 'OK', then you will...

 Download Confirm/Cancel Alert - New Window - Confirm/Cancel Alert - New * will Alert the user if he wishes to open a new webpage in a...
webscripts.softpedia > script/Forms and Controls C C/Confirm Cancel Alert New Wi

 Code Examples -> Using JavaScript to show an OK/Cancel confirmation window
weberdev > get example 1364

How to use Variable Variables (dinamic variable names) with Java...
Check if Javascript is Enabled or Disabled - Works in all...

 javascript window.confirm issues : JavaScript Forum
devppl > forum/javascript window confirm issues vt12540

 JavaScript Window Object
comptechdoc > independent/web/cgi/javamanual/javawindow

resizable - The value of yes or no determines if the window can be...
location - The value of yes or no determines if the window has a...

 Javascript Alert Box + Javascript Prompt Box + Javascript Confirm Box
aspnetcenter > cliktoprogram/javascript/alert.asp

 javascript window confirm( )
javascript.royh > window/confirm 4 0 5

 Javascript confirm Function
usingjavascript > functions/confirm

Build your website today for 1 cent! Coupon code:...

 JavaScript Popups Tutorial, Alert Confirm Prompt, Pop-up Window, Browser Popups, Web-Wise-Wizard
web wise wizard > javascript tutorials/javascript popup alert confirm prompt

 Confirm/Cancel Alert - New Window - JavaScript Made Easy: Free JavaScripts Tutorials Example Code
jsmadeeasy > javascripts/Alert%20Scripts/confirm%20cancel%20new%20window/index.h

 FAQTs - Knowledge Base - View Entry - How can I create a confirm window with buttons different from OK & Cancel? (also 3 btns instead 2)
faqts > knowledge base/view.phtml/aid/26693/fid/53

 The JavaScript Diaries: Part 8 - webreference.com
webreference > programming/javascript/diaries/8

Research Brief: How Forward-Thinking Marketing Organizations Deliver...
Intel AppUp Developer Program: New Name, New SDK, New Identifier, and...
Whitepaper: Five Ways to Fast ROI with Business Rule Management...

 Javascript window.confirm issue
webforumz > javascript forum/72364 javascript window confirm issue.htm

 Confirm on window close *only* and minimizing a window : Javascript, IE6
experts exchange > Programming/Languages/Scripting/JavaScript/Q 23482961

i dont want pop window on refreshing the page when firing the window...
Confirm on window close *only* and minimizing a...

 adding javascript window.confirm to linkbutton - bytes
bytes > groups/net asp/687301 adding javascript window confirm linkbutton

 Javascript (JS) Tutorial - window confirm function, popup message for user verification
hscripts > tutorials/javascript/confirm method.php

How to popup a message and get user confirmation in javascript?...

 [Javascript] Closing browser window without user confirmation
lists.evolt > pipermail/javascript/2001 August/001836

[Javascript] Closing browser window without user...

 Coding Tips » Confirm closing of browser window using onbeforeunload
codingtips > javascript/confirm closing of browser window using onbeforeunload

 Have a Javascript popup display Yes/ No instead of Confirm/ Cancel
delphifaq > faq/javascript/f1172.shtml

Please provide a valid email address if you select this option, or...
Please notify me once a day about new comments on this...

 Auto close confirm window - WebDeveloper.com
webdeveloper > forum/showthread.php?t=156743

You need to learn javascript basics before trying to repair/develop...
Is there any way to close the confirm window automatically?...
JavaScript (not Java) Discussion and technical support, including...

 Confirm window from server side code
telerik > community/forums/aspnet/window/confirm window from server side code.as

JustCode - code faster, code better, refactor with...
confirmCallBackFn (arg) but I don't know how I can catch that in the...

 JavaScript Confirm Box
exforsys > tutorials/javascript/javascript confirm box

can we change the confirm box labels as our requirement needs other...
Get Latest Free Training Updates delivered directly to your...

 OTN Discussion Forums : how to popup confirm window on base page ...
forums.oracle > forums/thread.jspa?messageID=2067435&

Thread: how to popup confirm window on base page...
Eileen, I can help you only when you provide me the...

 Confirmation Message Box (return Value from Javascript to ASP.NET program ). Please help !!!
velocityreviews > forums/t119580

 Closing Windows And Confirmation Boxes
jennifermadden > javascript/windowClose

 javascript confirm() and window.print()...plz help - Dev Shed
forums.devshed > javascript development 115/javascript confirm and window print

Safari Books Online provides searchable, on-demand access to...
JavaScript Development forum discussing JavaScript and DHTML, AJAX,...

 window confirmation and record deletion - Usenet Forums
usenet forums > php general/51909 window

Instead of trying to pop up a custom php window (which is a headache...
Hi folks, I am rather new at all this so excuse the...

 Yes/No Confirmation : Dialog « Window Browser « JavaScript DHTML
java2s > Code/JavaScript/Window Browser/YesNo

Assign returning value from prompt dialog box to your...



Response  
 

Guest name   (option)     Register
Please sum : 3583 + seven  




Trackbacks : If you talked about this article in your blog or website, you may instantly get a backlink 
There's no trackback at the moment.