0

I'm using this great plugin: http://www.sanisoft.com/blog/2009/06/22/jquery-auto-correct-plugin/

But it's not working with 1.6.2 or greater...

It works fine up to jQuery v1.5.2.

Do you know how could I fix this?

Thanks!

Santiago
  • 2,405
  • 6
  • 31
  • 43

2 Answers2

2

Just delete the first if statement in the plugin. Eg, delete this:

// If plugin attached to text/textarea field then don't need to proceed further
if (0 > jQuery.inArray(jQuery(this).attr("type"), new Array("text", "textarea")))
{
    return;
}
Christian
  • 19,605
  • 3
  • 54
  • 70
  • Great! Works perfect! Thanks! Not sure what that if statment refers to, but I'm glad it works! – Santiago Jun 18 '12 at 07:29
  • Looks like they're trying to avoid double-binding the plugin, but you can avoid that yourself by writing good code in the first place :p – Christian Jun 18 '12 at 07:33
1

Use jQuery jQuery.noConflict()

Possible duplicate - JQuery Version Conflict

And a reference - http://forum.jquery.com/topic/how-to-remove-jquery-version-conflict

Community
  • 1
  • 1
Dipak
  • 11,930
  • 1
  • 30
  • 31