94
rated 0 times
[
98]
[
4]
/ answers: 1 / hits: 33690
/ 10 Years ago, sun, february 23, 2014, 12:00:00
This may be a basic question. I have a button which is
<button type=button>Click Me!</button>
And then I have a script which is:
<script>
alert(My First JavaScript);
</script>
To call this script I can say onclick call another php or html file. But I want to add this script to the same file instead of adding a new file. Any suggestion will be appreciated.
More From » html