jQuery: The Write Less, Do More JavaScript Library

Ticket #216 (closed enhancement: fixed)

Opened 2 years ago

Last modified 1 year ago

$.ajax: Evaluate JS for "html" dataType like load()

Reported by: joern Assigned to: anonymous
Type: enhancement Priority: minor
Milestone: Component: ajax
Version: Keywords: vwbpg rmlxwne
Cc: vwbpg rmlxwne Needs:

Description

"I also found, that the only way to load an html fragment with having script blocks evaluated is to use the load() method. Shouldn't that work with $.ajax and a dataType of "html" as well?. It seems to me, that people tend to use $.ajax more and more."

Attachments

Change History

Changed 2 years ago by anonymous

  • status changed from new to closed
  • resolution set to invalid

Changed 2 years ago by joern

  • status changed from closed to reopened
  • resolution deleted

OK, there is the "html" dataType, but evaluation of JS like it is done inside load() is not happening.

Changed 2 years ago by joern

  • summary changed from Add "html" dataType for $.ajax to $.ajax: Evaluate JS for "html" dataType like load()

Changed 2 years ago by crmwfopu@…

  • cc set to vwbpg rmlxwne
  • keywords set to vwbpg rmlxwne
  • summary changed from $.ajax: Evaluate JS for "html" dataType like load() to vwbpg rmlxwne

ybvi hulnefo rhysfipd fucyitmo isytb osvhrc wjszg

Changed 2 years ago by anonymous

  • summary changed from vwbpg rmlxwne to $.ajax: Evaluate JS for "html" dataType like load()

Changed 2 years ago by joern

  • status changed from reopened to closed
  • resolution set to fixed

Fixed in SVN.

Note: See TracTickets for help on using tickets.