Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.onunload = function () {
- connection.send('closing connection');
- connection.onclose = function(){
- connection.send('<SET ID="ENABLE_SEND_DATA" STATE="0" /> ');
- console.log("Connection closed");
- };
- };
Add Comment
Please, Sign In to add comment