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   7891 Views

Avatar
erwanpia

16 December 2008 at 9:34am Community Member, 63 Posts

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

16 December 2008 at 9:46am Community Member, 470 Posts

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