Bug Tracker

Opened 8 years ago

Closed 8 years ago

#9736 closed bug (wontfix)

better load

Reported by: anonymous Owned by:
Priority: low Milestone: 1.next
Component: manipulation Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

Description

please, implement variation of $(elem).load (url, data, complete)

$(elem).load (fragment, url, data, complete) $(elem).loadAndInsert (fragment, url, data, complete) $(elem).loadAndAppend (fragment, url, data, complete) $(elem).loadAndInsertBefore (fragment, url, data, complete) $(elem).loadAndInsertAfter (fragment, url, data, complete)

$(elem).loadInnerHtml (fragment, url, data, complete) $(elem).loadInnerHtmlAndInsert (fragment, url, data, complete) $(elem).loadInnerHtmlAndAppend (fragment, url, data, complete) $(elem).loadInnerHtmlAndInsertBefore (fragment, url, data, complete) $(elem).loadInnerHtmlAndInsertAfter (fragment, url, data, complete)

where fragment is passed as parameter, not inside url and whe have an option to load innerhtml of frament and variations for insert, append, etc...

Change History (1)

comment:1 Changed 8 years ago by timmywil

Component: unfiledmanipulation
Priority: undecidedlow
Resolution: wontfix
Status: newclosed

Thanks for taking the time to contribute to the jQuery project! Adding methods with such specificity would not be practical. All of the different situations can be handled with $.ajax (or $.get).

Last edited 8 years ago by timmywil (previous) (diff)
Note: See TracTickets for help on using tickets.