Bug Tracker

Modify

Ticket #9736 (closed bug: wontfix)

Opened 23 months ago

Last modified 23 months ago

better load

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

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

comment:1 Changed 23 months ago by timmywil

  • Priority changed from undecided to low
  • Resolution set to wontfix
  • Status changed from new to closed
  • Component changed from unfiled to manipulation

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 23 months ago by timmywil (previous) (diff)

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.