if(confirm('text'))... issue
Posted: Thu Mar 17, 2005 6:30 pm
Hey. First of all, if this has been asked before on this forum, sorry, my bad, please give the link and i'll read'it.
If no, here's my question:
let's say that i have the following:
when the user clicks that link, a pop-up window will apear, asking him to answer with OK or CANCEL on that question. Nothing new so far...
But how can i (if it's possible) change that text shown an those buttons (OK and/or CANCEL) without modifying the source code of the browser ?
The purpose of this issue: multilanguage problem (instead of CANCEL i want to say ANULEAZA for example, in romanian... but the language thoes not matters...)
If no, here's my question:
let's say that i have the following:
Code: Select all
//the link is minimum on tags... ignore that :)
<a href="e;javascript: if(confirm('A question ?')) window.location = 'some_page.php'"e; >delete</a>But how can i (if it's possible) change that text shown an those buttons (OK and/or CANCEL) without modifying the source code of the browser ?
The purpose of this issue: multilanguage problem (instead of CANCEL i want to say ANULEAZA for example, in romanian... but the language thoes not matters...)