Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#8064 closed bug (invalid)

including jquery.validate 1.7 switches ajax call to jsonp

Reported by: jdart@… Owned by: jaubourg
Priority: low Milestone: 1.next
Component: ajax Version: 1.5rc1
Keywords: Cc:
Blocked by: Blocking:


If you use $.ajax and include jquery.validate.js, it will switch your call to using jsonp.


Change History (7)

comment:1 Changed 6 years ago by jitter

  • Component changed from unfiled to ajax
  • Owner set to jaubourg
  • Priority changed from undecided to low
  • Status changed from new to assigned

comment:2 Changed 6 years ago by jaubourg

jQuery validate redefines ajax and, in the process, extends options with ajaxSettings to allow its new custom options to be stored there. I contacted Jörn with a clean workaround using a prefilter.

comment:3 Changed 6 years ago by jitter

  • Resolution set to invalid
  • Status changed from assigned to closed

As this isn't jQuery core bug but a bug in a plugin I'm closing the ticket. The author has been notified of the issue and a way to fix his plugin has been proposed. So please check on the plugins homepage for an updated version to appear to use with jQuery 1.5+.

In general reports for bugs in plugins should be filed on the plugin site or directly to the respective authors of those plugins. You can also try posting to the correct subforum in the jQuery Forum or using the #jquery irc channel on freenode for support.

comment:4 Changed 6 years ago by nonreal@…

Can you atleast provide a solution here until the author will provide a new version?

comment:5 Changed 6 years ago by jdart@…

jaubourg shared this in irc: http://pastebin.com/5teiWN8K it's the feature detection needed to make jquery.validate work with the new ajax. The code in jquery.validate.js is at line 1090

comment:7 Changed 6 years ago by calamao80@…

No more problems with the new version of JQuery Validation 1.8


Note: See TracTickets for help on using tickets.