Avatar of ganeshaneesh
ganeshaneesh
Flag for India asked on

Javascript alert/confirm

Please give me source to have different icons like 'X' '!' '?' with javascript alert and confirm boxes.
JavaScriptJava

Avatar of undefined
Last Comment
ganeshaneesh

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
brunoguimaraes

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
b0lsc0tt

ganeshaneesh,

The expert above is correct.  Javascript doesn't allow that type of control over the alert or confirm.  Vbscript will but is only supported by IE browsers (or others with an addon/extension).  If you need something different to work in many browsers dhtml is the common method.  If the link above doesn't help let us know and we can try to provide others.  All credit to the expert above for first saying you can't.

Let me know if you have any questions or need more information.

b0lsc0tt
ganeshaneesh

ASKER
As I am much involved in critical issues, couldnt get time to go on this. I will reopen this issue after some days!!! Please give me some time. Thanks for the follow up and remembering me.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck