JQuery Example: <html> <head> <title>jQuery Hello World</title> <script type= "text/javascript" src= "jquery-1.4.2.js" ></script> </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>
Notes of a geek on Java and related technologies.