Created
August 26, 2015 13:50
-
-
Save igorbenic/f455213d815b6bb26137 to your computer and use it in GitHub Desktop.
WebSocketi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title></title> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
<script > | |
//Ovdje ide kod | |
</script> | |
</head> | |
<body> | |
<h2>WebSocket Test</h2> | |
Unesi Poruku: <input type="text" id="txtMessage" /> | |
<button type="button" id="btnSend">Pošalji poruku</button><br /> | |
<div id="divOutput"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment