29th
JUL

Firefox 3 mulitple ajax requests not updating

3 Comments

Posted by Lee under CodeIgniter, Programming

This morning I managed to get caught up trying to work out a problem I was facing with some content that was being updated via ajax (using jQuery). Whenever I went to perform the same action/url twice it wouldn’t update - in my case a toggle switch for displaying an item. It seemed to be a caching problem but (suprisingly) IE7 worked fine so it started to point towards something wrong with Firefox 3. Read the rest of this entry »

8th
JUL

Validate multiple forms with same class with jQuery Validator

1 Comment

Posted by Lee under Programming, jQuery

Ran into a very frustrating problem today whilst developing a dynamic form generator for Breeze CMS - we needed the jQuery Validator plugin (worth the download!) to be able to validate multiple forms (that had the same content) but the fun part was that we don’t know how many forms there would be. I thought it would be as simple as setting a common class for the forms and attaching the validate function to them but it wasn’t. Read the rest of this entry »

The Lab is the web development blog for PX Webdesign that covers many subjects from PHP, CSS, jQuery, CodeIgniter, Design and XHTML / HTML