• I am trying to resolve the following error with jquery 3.5.1. whenever I enabled this animated button, the console is throwing this error.


    button:

                                                <a href="<?=get_the_permalink(259);?>" class="button-primary button-pulse" data-smoothscroll="duration:600,easing:easeInOutCubic">
                                                    <span class="icon" data-icon="arrow-down-alternate"></span>&nbsp;Download white paper &nbsp;<span class="icon" data-icon="arrow-down-alternate"></span>
                                                </a><br>

    console error:

    jquery-3.5.1.min.js?ver=3.5.1:2 Uncaught Error: Syntax error, unrecognized expression: https://example.url/
        at se.error (jquery-3.5.1.min.js?ver=3.5.1:2:13606)
        at se.tokenize (jquery-3.5.1.min.js?ver=3.5.1:2:21617)
        at se.select (jquery-3.5.1.min.js?ver=3.5.1:2:22444)
        at Function.se [as find] (jquery-3.5.1.min.js?ver=3.5.1:2:7089)
        at S.fn.init.find (jquery-3.5.1.min.js?ver=3.5.1:2:25014)
        at new S.fn.init (jquery-3.5.1.min.js?ver=3.5.1:2:25503)
        at S (jquery-3.5.1.min.js?ver=3.5.1:2:1024)
        at HTMLAnchorElement.<anonymous> (main.min.js?ver=1.0.1.1630320259:1:22380)
        at Function.each (jquery-3.5.1.min.js?ver=3.5.1:2:2976)
        at S.fn.init.each (jquery-3.5.1.min.js?ver=3.5.1:2:1454)
Viewing 1 replies (of 1 total)
  • A link to the page would certainly be interesting to better see the connection between the code and the error.

Viewing 1 replies (of 1 total)
  • The topic ‘error with jquery 3.5.1’ is closed to new replies.