EASY Javascript question - TechRepublic
General discussion
October 18, 2000 at 04:30 AM
ckopcik

EASY Javascript question

by ckopcik . Updated 25 years, 7 months ago

Hello,
I am trying to create an alert w/ javascript that when you click OK it takes you to one page and when you click CANCEL it takes you to another (NOT just back one in history but to a whole new page) I can’t figure it out.
Is there any wayto change the buttons from OK and Cancel to YES and NO? (that’s not too important though) Thanks in advance for the help.

This discussion is locked

All Comments