Sunday, September 9, 2007

Using the jQuery Javascript library

After researching some different Javascript libraries and considering writing our own Javascript, our group has decided to use the jQuery Javascript library for Tabletop. This library will help speed up our development process because we won't have to write functions that other people have already written for us. The library includes things like form validation, visual effects and AJAX functions. It makes writing Javascript a lot easier. I no longer have to write this:
document.getElementById("message").innerHTML="Your changes have been saved.";
Because I can achieve the same thing with this:
$("#message").html("Your changes have been saved.");

No comments: