when I have the tag <script>
anywhere on the page html, is it javascript client side.
Could you tell for the followong cases, is it server side or client side?That is, does it runs in a browser or not?
1)
<form name="myform" action="" method="get">
<input type="text" name="s1" value="">
<input type="button" name="s2" value="" onClick="myFunc(this.form)">
</form>
<form action="exemple.com">
(document).bindHandlers({
paintGreen: function() { $(this).css("background","green"); },
paintRed: function() { $(this).css("background","red"); },
});
<button id="btnPaint" data-click="paintGreen" data-focusout="paintRed">Paint Town</button>
formObject.action = "exemple.com"
form.submit()