No, it is not possible to change these parameters in an alert box. 
This is a very basic browser interface. If you really - absolutely - 
need these changes, create your own popup. Or, you can do this 
interactively by creating a <div> element with visible="false", and 
then setting visible="true" to display it.
--Tim Sabin
> hi
> 
> following is the code i am using presently =
> 
> ======================================
> msg = "Selecting OK means you will no longer receive emails. If you 
> wish to continue to hear from us, click on Cancel and you will be 
> taken to our homepage.";
> 
> if (confirm(msg)) return true;
> else window.navigate("http://www.websitename.com"); return false;
> return true	
> ======================================
> 
> my question is about confirm pop up box.
> 
> 1. 
> is it possible to change the title of the confirm box to "Are you 
> Sure"
> 
> 2.
> and instead of "ok cancel" buttons that appear for confirm box can 
> we specify "yes no"
> 
> please advice.
> 
> 
> 
> 
> 
> Visit http://aiaiai.com for more groups to join 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
--Tim Sabin
Visit http://aiaiai.com for more groups to join 
Yahoo! Groups Links
<*> To visit your group on the web, go to:
  
http://groups.yahoo.com/group/JavaScript_Official/
<*> Your email settings:
    Individual Email | Traditional
<*> To change settings online go to:
  
http://groups.yahoo.com/group/JavaScript_Official/join
(Yahoo! ID required)
<*> To change settings via email:
    mailto:JavaScript_Official-digest@yahoogroups.com 
    mailto:JavaScript_Official-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
    JavaScript_Official-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
  
 
 

Tidak ada komentar:
Posting Komentar