Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12475 closed bug (notabug)

the ajax function post wrong arguments in ie7

Reported by: liugang98@… Owned by: liugang98@…
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: dbr Cc:
Blocked by: Blocking:

Description

if the" data" arguments in $.ajax function contain the option of a select and i write a wrong selector then the argument will be wrong.for example,a select named "dlGrade" and the data argument is " data: {'grade': $('#dlGrade').val()}",then the url will become "dlGrade[]=XXX"

Change History (2)

comment:1 Changed 7 years ago by mikesherov

Keywords: dbr added
Owner: set to liugang98@…
Status: newpending

Thanks for contributing! In order for jQuery to do what you expect, you must use it properly. What are you expecting to happen if you write the wrong selector?

comment:2 Changed 7 years ago by jaubourg

Resolution: notabug
Status: pendingclosed

This is too fuzzy as a bug report and belongs in the forum where you'll find proper support.

Note: See TracTickets for help on using tickets.