Uncaught TypeError: a.indexOf is not a function

Home Forums Quform PHP Uncaught TypeError: a.indexOf is not a function

This topic is: not resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20410
    wdurrani
    Participant

    Hi,

    I am getting this error on this website http://www.fixachiprepairs.com.au

    Can you please tell me what is causing it and how can I fix it.

    Regards,
    Wali

    #20415
    support
    Moderator

    Hi,

    Have you tried the solution posted here ?

    Regards,

    Félix

    #20423
    wdurrani
    Participant

    Hi, I don’t understand what is the solution this link that you shared. I am loading jquery version 3.1.1 because it is need for my other scripts. If also load query 1.8.3 that came with quform it gives me more errors related to other script.

    #20427
    support
    Moderator

    Hi,

    I posted the link so you could understand what is happening. The Quform script uses some jquery event aliases that are deprecated since 1.8. So, if you load jQuery 3.1.1, the error is coming in. Solution is here :

    This error might be caused by jquery event aliases like .load, .unload or .error deprecated since jQuery 1.8. Look for these aliases in your code and replace them with .on() to register listeners instead. Example:

    $(window).load(function(){...});

    becomes:

    $(window).on('load', function(){ ...});

    Don’t hesitate to ask more help if you can’t resolve this with the solution,
    Regards,

    Félix

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy