magnify
magnify
Home 2013 March
category

log “alert” messages to console

Published on March 21, 2013 by in JavaScript

Today, i’m playing with the jPlayer. It’s an amazing tool to play audio and video, but the only way to get debug messages is by using the classic alert messages: $("#jp").jPlayer({ errorAlerts: true, warningAlerts: true, … which is not fluid and quite boring, so, i decided to try to log these messages, replacing the window.alert

Read Moreā€¦

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments