Code On Fire Passionate About Cool Code

6Nov/090

jQuery & JavaScript Tips to Improve your Code

jquery-logo_pngHere’s a nice post on TripWire Magazine on improving your JavaScript coding, especially in  jQuery.

It deals with these topics:

  • Improving your selector skills
  • Testing for empty collection containers
  • A URL you can use to get the very latest jQuery on page load
  • Using callbacks to synchronize Effects
  • Using the Event model for DOM and custom object interaction
  • Creating custom selectors & how to use them
  • Making entire elements clickable – the easy way
  • Preloading images – jQuery style
  • Disabling / capturing right-click contextual menu
  • Grouping queries for simpler code
  • Using QUnit for integrated unit testing

To find the article, go to TripWire Magazine

Comments (0) Trackbacks (1)

Leave a comment