Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

102
Views
How to make Browser Icon Flash in TaskBar on certain event in WebApplication - Jquery

I am Working with SignalR in a Web application and i want to flash the browser icon to orange in the taskbar when client gets message from Hub.

Code inside Hub.

public void PrivateMessage(string UserName, string Message)
{
    Clients.All.newmessage(UserName, Message);
}

Response from Hub - Jquery code where message recieved in cshtml page.

var chat = $.connection.chatHub;

    chat.client.newmessage= function (UserName,Message) {

     $("#conversation").append('<li>' + UserName + ':' + Message + '</li>');

    };

Here after appending Message i want to flash the browser icon if user has minimized the window. Also it should work in all browsers i.e. Chrome, Firefox, Safari.

Thanks in advance. please let me know if anyone has the solution.

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!