Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#11811 closed bug (invalid)

ajax method

Reported by: nickl- Owned by:
Priority: low Milestone: None
Component: ajax Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

Request type != request method

The only type of request we are able to make via ajax are HTTP type requests.

Referring to request method as type is ambiguous.

This lack of proper definition has already lead to misrepresenting the JSONP mechanism as a "type" of request.

Please call a rose by it's own true name so we don't have to go around smelling what they are, no matter how sweet it is =)

Also it would be grand if you could consider adding element type ID attributes to the documentation headings so that we may easily reference these section via URI fragments ie. http://api.jquery.com/jQuery.ajax/#type - The erroneous identifier being referred to in this report.

Thank you for an awesome product guys, keep up the good work!

Change History (5)

comment:1 Changed 7 years ago by dmethvin

Resolution: patchwelcome
Status: newclosed

I like your documentation suggestion. The one about method would be pretty hard to do since there are a coupla people already using jQuery. So the type property can't easily change its name.

comment:2 Changed 7 years ago by dmethvin

Keywords: needsdocs added
Resolution: patchwelcome
Status: closedreopened

That's what I meant.

comment:3 Changed 7 years ago by timmywil

Resolution: invalid
Status: reopenedclosed

comment:4 Changed 7 years ago by timmywil

Component: unfiledajax
Priority: undecidedlow
Version: git1.7.2

comment:5 Changed 7 years ago by mikesherov

Keywords: needsdocs removed
Note: See TracTickets for help on using tickets.