Bug Tracker

Modify

Ticket #216 (closed enhancement: fixed)

Opened 7 years ago

Last modified 6 years ago

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

Reported by: joern Owned by:
Priority: minor Milestone:
Component: ajax Version:
Keywords: vwbpg rmlxwne Cc: vwbpg rmlxwne
Blocking: Blocked by:

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."

Change History

comment:1 Changed 7 years ago by anonymous

  • Status changed from new to closed
  • Resolution set to invalid

comment:2 Changed 7 years ago by joern

  • Status changed from closed to reopened
  • Resolution invalid deleted

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

comment:3 Changed 7 years ago by joern

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

comment:4 Changed 7 years ago by crmwfopu@…

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

ybvi hulnefo rhysfipd fucyitmo isytb osvhrc wjszg

comment:5 Changed 7 years ago by anonymous

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

comment:6 Changed 7 years ago by joern

  • Status changed from reopened to closed
  • Resolution set to fixed

Fixed in SVN.

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.