jQuery: The Write Less, Do More JavaScript Library

Ticket #2315 (assigned feature)

Opened 6 months ago

Last modified 2 months ago

Option to prevent JavaScript processing via Ajax

Reported by: xwisdom Assigned to: flesler (accepted)
Type: feature Priority: minor
Milestone: 1.2.4 Component: ajax
Version: 1.2.3 Keywords: evalscript noscript
Cc: Needs: Review

Description (last modified by flesler) (diff)

It would be nice if we could have an ajax option to disable this the evaluation of javscripts during an ajax load:

$.ajax({

noscript:true

})

or

$('#section').load('page.html',,{

noscript:true,

success: function() { alert('Ok') }

})

The third param in the load function can be either a function or ajax options.

Attachments

Change History

Changed 2 months ago by flesler

  • status changed from new to assigned
  • description changed from It would be nice if we could have an ajax option to disable this the evaluation of javscripts during an ajax load: $.ajax({ noscript:true }) or $('#section').load('page.html','',{ noscript:true, success: function() { alert('Ok') } }) The third param in the load function can be either a function or ajax options. to It would be nice if we could have an ajax option to disable this the evaluation of javscripts during an ajax load: $.ajax({ noscript:true }) or $('#section').load('page.html','',{ noscript:true, success: function() { alert('Ok') } }) The third param in the load function can be either a function or ajax options.
  • component changed from core to ajax
  • priority changed from major to minor
  • owner set to flesler
  • keywords set to evalscript noscript
  • type changed from enhancement to feature

Could be, I'll check how much code this requires soon.

Note: See TracTickets for help on using tickets.