Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

104
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda