• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

phpFreeChat has disabled my JQuery scripts

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
5 posts • Page 1 of 1

Postby mi1s0n » Wed Jul 25, 2012 11:36 pm

Hi,
I have a few JQuery codes to retrieve data from server in my website (http://www.warzone.in).
They run well, but in the page that my chat room created by phpFreeChat is in it,None of them work
In the firebug console an error says TypeError: $(document).ready is not a function, Other pages haven't this error.
Help please :(
mi1s0n
New member
 
Posts: 3
Joined: Wed Jul 25, 2012 11:15 pm
Top

Postby WayneShears » Thu Jul 26, 2012 12:20 pm

I think you need to reference it using jQuery as the variable name, not $.

Instead of $(document) try it with jQuery(document)
WayneShears
New member
 
Posts: 5
Joined: Thu Jul 26, 2012 11:54 am
Location: Oxford, United Kingdom
Top

Postby mi1s0n » Thu Jul 26, 2012 1:20 pm

WayneShears, tnx for reply, but as i mentioned before other pages have not this problem
mi1s0n
New member
 
Posts: 3
Joined: Wed Jul 25, 2012 11:15 pm
Top

Postby WayneShears » Thu Jul 26, 2012 1:35 pm

Before shooting down my suggestion have you tried this?

If PFC uses jQuery in noConflict it will stop your old jQuery code working - and the suggestion above should solve the issue.
WayneShears
New member
 
Posts: 5
Joined: Thu Jul 26, 2012 11:54 am
Location: Oxford, United Kingdom
Top

Postby mi1s0n » Thu Jul 26, 2012 4:03 pm

I did what u say,now new errors occurred,
They say : TypeError: $(document).ready is not a function
But this time these errors are not from my jquery codes , they are from phpFreeChat scripts
Can u give me another suggestion for issue u talked about it?
Last edited by mi1s0n on Thu Jul 26, 2012 4:05 pm, edited 1 time in total.
mi1s0n
New member
 
Posts: 3
Joined: Wed Jul 25, 2012 11:15 pm
Top


Post a reply
5 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 52 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub