News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Object doesn't support property or method "on"

Started by EvoWebGuy, December 07, 2014, 07:42:03 AM

Previous topic - Next topic

EvoWebGuy

Hi Guys

I need your help urgently please. My site went haywire and when I use development tool I get a error message that says Object doesn't support property or method "on" with this script

window).on('load', function () {
    $('[data-spy="scroll"]').each(function () {
      var $spy = $(this)
      $spy.scrollspy($spy.data())

How and where can I fix it. Please help me. If I dont get it fix i'll loose my job

jenkinhill

Scrollspy is not part of VirtueMart. It is a third party plugin, unrelated to VM.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

search your install for that js snippet  - and comment out etc to test
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation