• 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

Execute command chat from external JS code

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

Post a reply
1 post • Page 1 of 1

Postby mortek » Tue Jun 19, 2012 7:45 pm

Hello again :)
Is there possible to send command/message from external pice JS code?

Example: somewhere in html of page with chat:
jQuery(document).ready(function() {

if(something)
{
// send some command to current chat HOW? :(
}

});

A see in FireBug:


pfc_ajax 1
f HandleRequest
cmd /send 4be4e1ebffde623f660149d1475ef75f 1d88c91093cdbeebf9ef3f4b7211c7d1 my_message

(I coud sent POST via Ajax)
But how can I get chat chash?
Last edited by mortek on Tue Jun 19, 2012 7:47 pm, edited 1 time in total.
mortek
New member
 
Posts: 6
Joined: Tue Apr 17, 2012 1:33 pm
Top

Post a reply
1 post • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 5 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