You cant explicitly have media queries, but you can check the window width with this little code :
function viewport() { var e = window, a = 'inner'; if (!('innerWidth' in window )) { a = 'client'; e = document.documentElement || document.body; } return { width : e[ a+'Width' ] , height : e[ a+'Height' ] }; }
I cant remember where I found this code so i can't give the credit...
Anyway, use the window resize event to check the width like that :
$(window).resize(function(){ if(viewport().width > x && viewport().width < y){ //do something } }).trigger('resize');