[webkit-help] JavaScript doesn't execute a script
Seweryn Pływaczyk
s.plywaczyk at gmail.com
Wed Mar 10 00:31:58 PST 2010
Hi
The following HTML code doesn't work neither in my WebKit based browser nor
in Safari and Google Chrome. It works in Firefox, Opera and IE:
<html>
<head>
<script type="text/javascript">
function a(var1)
{
document.write(var1);
}
</script>
</head>
<body>
<br>
<a href="javascript:a('bbbbb')">text</a>
</body>
<html>
After click on text I see only blank page.
Is it a bug or just wrong script?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100310/27bec2cd/attachment.html>
More information about the webkit-help
mailing list