Forums

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

  1. athar saeed
    Member
    Posted 10 months 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
    Theme Diva & Forum Moderator
    Posted 10 months ago #

  3. athar saeed
    Member
    Posted 10 months ago #

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

  4. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

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

  5. athar saeed
    Member
    Posted 10 months 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.

Reply

You must log in to post.

About this Topic