jQuery Hello World example



User Rating:  / 0
PoorBest 
Details

Hello World with jQuery :

View source
<html>
<head>
 
jQuery Hello World
 
 
<script type="text/javascript" src="jquery-1.4.2.js">
 
</head>
 
<script type="text/javascript">
 
$(document).ready(function(){
 $("#flag").html("Hello World !! (display due to jQuery)");
});
 
</script>
<body>
<font color=red> 
Hello World !! (display due to HTML)
</font>
<font color=blue>
<div id="flag">
</div>
</font>
</body>
</html>


You have no rights to post comments

   

Login  

   
   

     

© Developerpages