jQuery removeAttr for onclick and IE9

Did you know that the removeAttr method cannot remove the 'onclick' attribute on IE9 browser? Seems strange right, unfortunately it's true. jQuery is not at fault here though, IE9 has a bug it seems. So for now use the .prop('onclick', null) method to get the job done.

For more information hit this link: http://bugs.jquery.com/ticket/9405