Link to home
Start Free TrialLog in
Avatar of ganeshaneesh
ganeshaneeshFlag for India

asked on

Javascript alert/confirm

Please give me source to have different icons like 'X' '!' '?' with javascript alert and confirm boxes.
Avatar of brunoguimaraes
Flag of Brazil image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of b0lsc0tt

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.

Avatar of ganeshaneesh


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.