ajax
How to process multiple checkboxes with jQuery

The functionality isn’t new: you have a list of stuff and want checkboxes before the elements so you can mass-process them. In my case, I wanted to set a number of list elements to a certain state (which in this case means a status flag in the database) so the need arose to fetch all [...]

Share this on:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • email
  • MisterWong
  • MySpace
  • Reddit
  • RSS
  • Yahoo! Bookmarks
Read More
Posted on 9th November 2009No Comments
How to AJAX with jQuery

If you are frequently using AJAX calls in your website or application, jQuery’s built-in AJAX functions come in handy. Say you want to dynamically load the contents of a PHP file into a DIV:
<div id=”content”></div><button onclick=”jQuery.post(’getContent.php’, { contentId: ‘1′ });”>get content</button>
When you click the button, jQuery calls getContent.php and passes contentId via PUT to it [...]

Share this on:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • email
  • MisterWong
  • MySpace
  • Reddit
  • RSS
  • Yahoo! Bookmarks
Read More
Posted on 30th October 2009No Comments