By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,615 Members | 1,961 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,615 IT Pros & Developers. It's quick & easy.

How to show data coming from server on a page apart from the requesting page

P: 1
I am using websockets.I am sending a request to server for connection,after connection I request for particular data as soon as registration of id is done data starts coming there.but i want data to be shown on next page when I click on a particular icon.How do I do this so that i can show the data for particular id on its respective icon instead of same as registration data,and data is real time and dynamic.
Jan 31 '14 #1
Share this Question
Share on Google+
1 Reply


Claus Mygind
100+
P: 571
Either have the server, serve up the page you want the information displayed on.

Or

Make and ajax request to the server and when the response is returned from the server, have your javascript call up the next page along with the data
Expand|Select|Wrap|Line Numbers
  1. window.open('newpage.html', '_blank')
Feb 4 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.