The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Why is Jquery not working on HTML Page

    CatherinaAndrea
    CatherinaAndrea
    Forumember


    Female Posts : 230
    Reputation : 19
    Language : English, Russian, Dutch

    Solved Why is Jquery not working on HTML Page

    Post by CatherinaAndrea August 14th 2012, 8:06 pm

    I made my HTML Page on a FM Test site of mine ( link removed ) and everything is working fine.
    Now i copied the code and pasted in in a new HTML Page for the proper Website that it was made for. ( link removed )
    And all of a sudden the Jquery stopped working. Why is that??

    Any help is much appreciated.


    Last edited by CatherinaAndrea on August 15th 2012, 6:34 pm; edited 1 time in total
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: Why is Jquery not working on HTML Page

    Post by LGforum August 14th 2012, 10:31 pm

    jQuery will only be present in HTML pages if you have the header and footer enabled. If you don't then you need to add jQuery to the source of the HTML page so it can be used.
    CatherinaAndrea
    CatherinaAndrea
    Forumember


    Female Posts : 230
    Reputation : 19
    Language : English, Russian, Dutch

    Solved Re: Why is Jquery not working on HTML Page

    Post by CatherinaAndrea August 14th 2012, 11:30 pm

    But the Jquery is working in the test page and I didn't use the Header and Footer enabled option in that one either.
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    Solved Re: Why is Jquery not working on HTML Page

    Post by LGforum August 15th 2012, 2:03 am

    Then you must have included without realising. Probably in a code you added.

    JQuery will not work, if jQuery is not present in the page. A browser does not understand jQuery.
    CatherinaAndrea
    CatherinaAndrea
    Forumember


    Female Posts : 230
    Reputation : 19
    Language : English, Russian, Dutch

    Solved Re: Why is Jquery not working on HTML Page

    Post by CatherinaAndrea August 15th 2012, 6:36 pm

    Solved it now, the browser changed the Jquery code when copy/pasting, the stupid thing, anyways. Thanks for the time and this can be locked now.
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Why is Jquery not working on HTML Page

    Post by Sanket August 15th 2012, 6:50 pm

    Topic Solved & Locked

      Current date/time is September 23rd 2024, 3:27 am