a developer's notes – a semi-technical web development BLOG

April 25, 2014

jquery.validate : Unable to get property ‘getAttribute’ of undefined or null reference

Filed under: Javascript / JQuery — Duy Nguyen @ 12:31 pm
Tags: , , , , ,

I got this error recently in jquery.validate.js:
“Unable to get property ‘getAttribute’ of undefined or null reference”

Jq_ErrorAttr

GetAttributeError

Turns out the error was from a input type checkbox needing a name attribute and not just an Id attribute.

Advertisements

2 Comments »

  1. Quite a while ago I started to set both name + id on pretty much everything. I’ve had a lot of problems with stuff other people did where they only set the name and not id lol

    Comment by Frank — August 26, 2014 @ 2:30 pm | Reply

  2. […] jquery.validate : Unable to get property ‘getAttribute … – Apr 25, 2014 · I got this error recently in jquery.validate.js: “Unable to get property ‘getAttribute’ of undefined or null reference” Turns out the error was from a …… […]

    Pingback by Fix Jquery.validate Change Error Css Windows XP, Vista, 7, 8 [Solved] — November 28, 2014 @ 3:53 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: