Quantcast
Channel: Me Like Dev » JQuery
Browsing all 9 articles
Browse latest View live

JQuery is your friend

JQuery is a pre-packaged, pre-tested javascript api which will greatly improve the lives of any devs having to deal with javascript in any way. It allows for easy access to dom elements, for example:...

View Article



Javascript – JQuery – Check if Form Inputs were Selected

If you have a list of checkboxes or radio buttons and want to see if any of them were selected, JQuery makes it simple: Simply replace <input_name> with the name of your checkboxes/radio buttons....

View Article

jQuery – Reset Select Options

If you need to reset select options try the following: Regardless of the first option being blank or not, this will reset the currently selected option to first option. In my opinion it’s always good...

View Article

jQuery – Reverse Each

There may be some situations where you need to step through dom elements in reverse order, in this case the following code should help you: Example html: The post jQuery – Reverse Each appeared first...

View Article

jQuery – UI Dialog – Internet Explorer 8 (IE8) Issue with Ajax Response

There is an apparent issue with jQuery – Ui Dialog in IE8 where if you submit a form and get an ajax response (in JSON), IE8 will display the response but then quickly load a page with the same exact...

View Article


Symfony – Add ReCaptcha to JQuery Dialog (Lightbox)

The following solution of adding ReCaptcha to a JQuery Dialog (Lightbox) makes use of the sfFormExtraPlugin, not the sfReCaptchaPlugin. The reason is because the following solution was developed in...

View Article

Javascript – JQuery – Google Analytics – Submit Form Using GET Instead of POST

Was working on adding Google Analytics cross domain tracking for a form which uses the GET (instead of POST) method. The problem I was running into was the Google Analytics Tracking Cookie (GATC) data...

View Article

Javascript – jQuery – Property Submit of Object htmlformelement is not a...

Recently ran into an issue while trying to add some jQuery logic to a form element, where the following error was being generated in the Javascript console every time I submitted the form: Uncaught...

View Article


Javascript – jQuery – Stopping Event Propagation – stopImmediatePropagation

Recently ran into another issue where I had two separate and de-coupled event handlers tied to the same dom element, specifically a form submit. However, the first event handler returned false if...

View Article

Browsing all 9 articles
Browse latest View live




Latest Images