When using jQuery validate on a form it was picked up that the email field was not checking the length of each section, just the format ‘e.g. [email protected]’.
After googling it was suggested that a custom validator was the best solution to this issue. Continue reading “jQuery Validate: Custom Validator for correct Email format”
I implemented JQueryUi’s accordion on a few sections of a recent project, styling up the headers and content from scratch so as to fit in with my site design. When it came to test the sections in IE7 however, the accordion simply displayed on the page as standard HTML h3’s and divs, as if the JQueryUI file had simply not been included in the page. Continue reading “If Your JQueryUI Is Broken in IE 7”
Adding a Date Of Birth field to a form using datepicker, i was surprised that although there are options to set yearRange, min/max Date etc, there isn’t an option to set the order the years appeared in the dropdown. Continue reading “JQuery UI Datepicker: Reverse Order of Year Range”
As usual IE6 causing me problems, the lovely CSS controlled dropdown navigation on the latest site i’m working on is fine in all browsers except IE6. Continue reading “JQuery IE6 fix for CSS Dropdown Menu”
The first jQuery conference to be held in Europe, and it’s coming to the UK.
When trying to place an onclick function on a link in a table cell, which is part of a row which also has an onclick event, leads to both onclick functions being called.
After looking into how to go around this issue I used
This worked perfectly, stopping the parent onclick from firing, but when it came to testing in dreaded IE I found it wasn’t supported.
So I tried changing to:
This works just as well, not only in Firefox but IE too.
Continue reading “Nesting an onclick within an onclick”