Thursday, June 23

Javascript and Jquery Basic Syntax.

Example CodeJavascriptJquery
<input name="vname" type="text" />document.getElementsByName("vname")$("[name='vname']")
<div id="test">document.getElementById("test")$("#test")
<div class="test">document.getElementsByClassName("test")
More information here
$(".test")
<p>Some text</p>document.getElementsByTagName("p")
$("p")

Be the first one to Comment!!!

Post a Comment