How to make Jquery run on all pages simultaneously

Asked

Viewed 39 times

0

For example: with 2 facebook pages open, open some conversation with a friend on 1 of the pages, go to 2 page and you will see that the window is open there too, how is this possible? How is it done?

PHP/JQUERY USE

  • See http://answall.com/questions/33792/appearingupdated%C3%A7%C3%A3o-igual-ao-facebook-na-hora

  • yes, but it is not the real time issue (websockets, or others) and yes, as an element was created with the "append" for example, on 1 page and on the other page the window is there, open..

  • 1

    Each page exchanges information separately with the server, and updates its content according to what the server responds to.

  • Oh, yes clear as I had not thought of it, since facebook is in real time, it will open on time the updates of each profile and chat windows open, thanks bfavaretto!

  • had thought this was a jquery function, make an append on all :S pages

  • 1

    This is rather a function of jQuery (actually, Javascript, with or without jQuery), but each page does it separately. They do not communicate with each other, each communicates with the server.

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.