Support » Fixing WordPress » javascript loading but not calling input ids

  • Resolved thebasharjobs

    (@thebasharjobs)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    What’s your browser’s console saying?

    ReferenceError: rx_get is not defined.

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘javascript loading but not calling input ids’ is closed to new replies.