[resolved] javascript loading but not calling input ids (4 posts)

  1. thebasharjobs
    Posted 3 years ago #

    i developed a page outside the wordpress environment and the javascript contained inside it functions normally, gathering the form data entered and directing that user over to the appropriate page. however, after enqueuing the script and attempting the same thing the page doesn't redirect after entering the values and hitting submit.

    i know the script is loading properly as i contained an alert function within it to say so when its loaded.

    any ideas? thanks in advance.

  2. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    What's your browser's console saying?

  3. thebasharjobs
    Posted 3 years ago #

    ReferenceError: rx_get is not defined.

  4. thebasharjobs
    Posted 3 years ago #

    i take it back. the script wasn't actually loading properly. the reason i was getting an alert stating it was was because i was calling a function from another script file that was loading.

    your question however guided me down the right path, so thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.