Reply to Re: Can a Hyperlink call a Javascript confirm prompt?

Your name:

Reply:


Posted by Jonathan N. Little on 03/18/06 16:11

Chris Ianson wrote:

> "Vic Sowers" <Mail@Vic_NOSPAM_Sowers.com> wrote in message
> news:WMSSf.4850$1Z5.853@tornado.texas.rr.com...
>
>>Try setting the href="http://www.yahoo.com/" and onClick="return
>>confirm("Do you really want Yahoo?')"
>
>
> Thanks Vic but I'm quite new to this. Could you kindly show me the exact
> code to 'copy and paste'? Then I can understand it for next time. Not sure
> about onClick etc. Thanks again. :)
>
>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Test Confirm Box</title>
</head>
<body>
<h1>Test Confirm</h1>
<p>
To test how code a confirm on click,
click <a href="http://www.yahoo.com/"
onclick="return confirm('Do you really want Yahoo?')">
Go To Yahoo</a>
</p>
</body>
</html>



--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация