Explore 100's Of Free Video Tutorials

Keep Learning, Keep Coding & Keep Sharing

Coding and executing jQuery

Notes:

4. Write the jQuery and execute:

<body>
<h1 id="heading1"> Heading one text </h1>
<script type="text/javascript">
//document.getElementById("heading1").style.border="2px solid red";
//jQuery("#heading1").css("border","2px solid red");
$("#heading1").css("border","2px solid red");
</script>
</body>

Interview Questions: