tags:

views:

706

answers:

2

Hi sirs,

I am writing one web chat program using AJAX (a little bit). It is working when both users open a chat page, but I want to open a window when one user send data to others.

A: 

Sounds like you need to write some javascript to open a new window when a message is received. How are you sending the message - reverse Ajax?

Presumably both users will need to have your chat applications web page open so that you have somewhere to put the reverse ajax hook code.

Chris Kimpton
A: 

can you not use some JS code to open a new window?

winRef = window.open( URL, name [ , features [, replace ] ] )

jeff porter