p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Web Programming > JavaScript > Javascript How-To
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 23rd, 2006, 03:25 PM
Friend of Wrox
Points: 945, Level: 11
Points: 945, Level: 11 Points: 945, Level: 11 Points: 945, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2004
Location: , , .
Posts: 178
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default Javascript Confirm Message box

Hello,

I am developing a website for a french client. One of the page is using an option where user clicks on a button and it opens a javascript CONFIRM MESSAGE BOX.

I need to change the CONFIRM MESSAGE BOX buttons text from "Yes/No" to "Ja/Na".

How can I do this?

Any idea..
Any help...
Will really be appriciated.


Thank you,
Zeeshan Ahmed
itHighway

__________________
Zeeshan Dar
itHighway
web design development, property management software & web based real estate listings software services provider
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old September 23rd, 2006, 04:20 PM
joefawcett's Avatar
Wrox Author
Points: 8,994, Level: 40
Points: 8,994, Level: 40 Points: 8,994, Level: 40 Points: 8,994, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 2,922
Thanks: 0
Thanked 13 Times in 12 Posts
Default

You can't change the button text specifically. If the client's machine is set to French then the button captions will appear in French, can't remember what they actually show.

--

Joe (Microsoft MVP - XML)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old September 24th, 2006, 02:20 PM
Friend of Wrox
Points: 945, Level: 11
Points: 945, Level: 11 Points: 945, Level: 11 Points: 945, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2004
Location: , , .
Posts: 178
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default

Client web site is hosted with a french hosting company and default langugage on server is French. But still the Javascript popup window is showing "YES/NO".

Any idea??

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #4 (permalink)  
Old September 24th, 2006, 03:42 PM
Friend of Wrox
Points: 1,099, Level: 12
Points: 1,099, Level: 12 Points: 1,099, Level: 12 Points: 1,099, Level: 12
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what language is setup on the CLIENT side as the Javascript will be executed there ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #5 (permalink)  
Old September 24th, 2006, 11:56 PM
Friend of Wrox
Points: 945, Level: 11
Points: 945, Level: 11 Points: 945, Level: 11 Points: 945, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2004
Location: , , .
Posts: 178
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default

I think by default ENGLISH is set.
How should I setup language on CLIENT side?


Thank you,
ZA

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #6 (permalink)  
Old September 25th, 2006, 03:51 AM
joefawcett's Avatar
Wrox Author
Points: 8,994, Level: 40
Points: 8,994, Level: 40 Points: 8,994, Level: 40 Points: 8,994, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 2,922
Thanks: 0
Thanked 13 Times in 12 Posts
Default

You can change the regional settings from the control panel and/or change the preferred language setting from the browser options menu.

--

Joe (Microsoft MVP - XML)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript confirm box with just an 'OK' button crmpicco Javascript How-To 26 June 24th, 2008 09:44 AM
JavaScript Confirm Box ricespn Classic ASP Basics 1 January 20th, 2007 12:48 AM
prob.. confirm message abhit_kumar JSP Basics 0 December 29th, 2004 06:37 AM
Confirm alert box - need help, Please! larry HTML Code Clinic 1 January 25th, 2004 02:07 AM
how to default confirm box to NO in javascript. An Javascript 1 June 8th, 2003 08:34 AM



All times are GMT -4. The time now is 11:56 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc