WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. thebasharjobs
    Member
    Posted 1 year 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
    Forum Moderator
    Posted 1 year ago #

    What's your browser's console saying?

  3. thebasharjobs
    Member
    Posted 1 year ago #

    ReferenceError: rx_get is not defined.

  4. thebasharjobs
    Member
    Posted 1 year 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

Tags

No tags yet.