Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

remove javscript from front end


Reply


2 Posts   7977 Views

Avatar
erwanpia

Community Member, 63 Posts

16 December 2008 at 9:34am

Hi, I want to use jquery on the front end but prototype is interfereing

the following in page controller does not remove the javascripts, how can I remove them ? thanks

      Requirements::clear_combined_files();
      Requirements::clear();

Avatar
Liam

Community Member, 470 Posts

16 December 2008 at 9:46am

Requirements::block('/path/to/js'); should work.