<a href="javascript;" onClick="if(confirm('Are you sure?'))
alert('You choose yes!');
else alert('You choose no!')">Click me</a>
Try: http://jsfiddle.net/Je8pP/
reyborn
Junior Poster in Training
60 posts since Jan 2006
Reputation Points: 11
Solved Threads: 10
Skill Endorsements: 2
Question Answered as of 6 Months Ago by
code739,
cigoL..:)
and
reyborn