Hello,
I have small problem and can't solve it. I am trying to write javascript function inside html file and call it from click button but it does not work. I try both tags:<script type="text/javascript">
<script language="JavaScript">
I include it at the head tag, at first of body, at end of body, before head. but, does not works!
it called from <input type='button' name='but' onclick="alertx();">
and it just alerting
<script type="text/javascript">
function alertx()
{alert('hi');}
</script>
Any help please.
Thanks,