mayank2333
01-16-2012, 06:48 PM
im trying to onclick function on the button but in firebug it will say, function not defined, i even tried to do it with a internal script, but still it will not work. please help
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="s/i.js">
</script>
</head>
<body>
<button id="fihkhjsdk" onclick="ff();"> dsfh </button>
<php code...>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="s/i.js">
</script>
</head>
<body>
<button id="fihkhjsdk" onclick="ff();"> dsfh </button>
<php code...>
</body>
</html>