Category Archives: JQuery

Regex validation with Jquery Validation Plugin

We needed several regex validations. I coded various custom validators with the regex included, so the regex could be re-used instead of typing the regex again and again. Here is an example of how the validation was wired in via … Continue reading

Posted in javascript, JQuery | Tagged , , , | Leave a comment

How can you tell if an element exists on a page

I had a form that I was generating with Ajax. The user selected a state, then I retrieved the licenses for the agency that they selected from the state. I also defaulted to the first agency and ran a query. … Continue reading

Posted in javascript, JQuery | Leave a comment

Jquery form validation

It has been a while since I wrote a form. I kept posting data even though the validation fired and was not valid. I forgot that you have to check for a valid form. I also learned that you can … Continue reading

Posted in HTML, javascript, JQuery, json | Tagged , , , , , | Leave a comment

When $.get and $.post just aren’t enough

This is a typical Jquery ajax request. This works great until you realize that it is really taking data from a form and is changing data on the site. It should be a post, but it was mistakenly made with … Continue reading

Posted in javascript, JQuery | Tagged | Leave a comment

IE8 issues with JQuery Dialog causes box to have wrong height and scrollbars

This was happening only on IE8 (native and CoRD). It was working correctly on Chrome and Firefox. The solution is to call .height(‘auto’) after the dialog is created.

Posted in javascript, JQuery | Tagged , , | Leave a comment

Fading text in and out

I was working on a problem where I needed to change the text in a menu to be the name of the department, then the phone number to the department. Both of which had to be a link to the … Continue reading

Posted in JQuery | Leave a comment

Change where jQuery Validation messages are displayed

Yeah. jQuery form validation is proving to be very nice. If you have been following this blog, you have seen how to set-up the standard validations and even create your own custom validation. One problem I had to solve was … Continue reading

Posted in javascript, JQuery | Tagged , , , | Leave a comment