Which Browser support in HTML5

In this article I have describe about HTML5 support browser.
  • 2456

Which Browser support in HTML5 SSE

Some browsers are support server sent events, and describe the code for check SSE.

Example

if(typeof(EventSource)!=="undefined")
  {
  // Yes! Server-sent events support!
  }
else
  {
  // Sorry! No server-sent events support in our system
  }

 

Table for supported browser

 

Browser

Supported

Notes

Internet Explorer

No

IE is not supported

Mozilla Firefox

Yes

Version 6.0

Google Chromo

Yes

GC is Supported

Opera

Yes

Version 11

Safari

Yes

Version 5.0

EventSource Object

Onmessage event to get message in this example, but other events are also available
 

Events`

Description

Onopen

Open the server

Onmessage

Recived a message

Onerror

Show the error

Further Readings

You may also want to read these related articles :

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.