-1

how can i write a html5 prototype which must be able to communicate which the server and reply back to the client.this is the task that is i need to design a prototype which will be able to communicate with the server

  • HTML5 cannot do this. JavaScript can. – Alex Jan 28 '11 at 10:31
  • What do you mean by 'prototype'? – Mudassir Jan 28 '11 at 10:31
  • This question is un-answerable in its current state. Are you talking about using web sockets, or something like AJAX? – John Parker Jan 28 '11 at 10:32
  • i am asking like wht i can do inorder to creta e a prototype using html5 and javascript which will be able to send a msg to the server. – Raghava Simhan Jan 28 '11 at 10:33
  • You need to do a search for "web sockets" or "AJAX", do some research and then ask a more targeted question if so required. – John Parker Jan 28 '11 at 10:35
  • This looks kind of familiar: http://stackoverflow.com/questions/4817055/how-to-write-a-html5 You need to be a bit more specific (do you want real-time communication? (I think that's what benhowdle89's answer has) or would AJAX polling be ok? (in which case, see e.g. this: http://stackoverflow.com/questions/35499/ajax-polling )), or try something and tell us how it didn't work. Reposting the same thing will rarely get you a useful answer... – Piskvor left the building Jan 28 '11 at 10:35