javascript problem
Verfasst: So Mär 04, 2012 10:57 pm
Hallo Leute,
wie bring ich das zum Laufen?
test.js:
und im code:
Danke im Voraus! 
wie bring ich das zum Laufen?
test.js:
Code: Alles auswählen
<html>
<head>
<script type="text/javascript">
function welcome()
{
alert('hello');
}
</script>
</head>
<body>
</body>
</html>
Code: Alles auswählen
<head> <script type="text/javascript" src="test.js"></script> </head>
...
<body>
...
<input type="button" value="Click Here" onClick="welcome();">
...
</body>
