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.

Why is Jquery not working on HTML Page

3 posters

Go down

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
CatherinaAndrea
CatherinaAndrea
Forumember

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

http://www.nailphanatic.com/

Back to top Go down

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.
LGforum
LGforum
Hyperactive

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

Back to top Go down

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.
CatherinaAndrea
CatherinaAndrea
Forumember

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

http://www.nailphanatic.com/

Back to top Go down

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.
LGforum
LGforum
Hyperactive

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

Back to top Go down

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.
CatherinaAndrea
CatherinaAndrea
Forumember

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

http://www.nailphanatic.com/

Back to top Go down

Solved Re: Why is Jquery not working on HTML Page

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

Topic Solved & Locked
Sanket
Sanket
ForumGuru

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

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum