WordPress.org

Ready to get started?Download WordPress

Forums

Java script problem - code not showing desired outcome (5 posts)

  1. athar saeed
    Member
    Posted 2 years ago #

    [Code moderated as per the Forum Rules. Please use the pastebin]

    This java script shows a submit button after 10sec of page load.

    I am facing problem when I try to do same thing in word press. In word press copying the same code will not work, as word press does not allows this.

    To do the same thing in word press I saved the above code as load.jsp and uploaded to ftp folder "newfolder" and then included that load.jsp in word press page(by creating a new page) as follows.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    This is standard to use java script in word press. But I failed to get the desired output. Its doesn't shows the submit button, which it is supposed to show after 10 sec of the page load.

    Any Suggestions
    I would be great full.
    Thanks & Regards

  2. esmi
    Forum Moderator
    Posted 2 years ago #

  3. athar saeed
    Member
    Posted 2 years ago #

    Dear Theme Diva, I spent enough time at:
    http://codex.wordpress.org/Using_Javascript
    It did not help.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    That's a pity - it contains everything you need to know about using javascript with WordPress.

  5. athar saeed
    Member
    Posted 2 years ago #

    Dear Esmi; what I have done so far is with the help of http://codex.wordpress.org/Using_Javascript.
    But the desired outcome is not coming, I need help on were I went wrong.

Topic Closed

This topic has been closed to new replies.

About this Topic