Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
if media query jquery
verdery
Programming language:
Javascript
2021-06-18 05:03:19
0
Q:
if media query jquery
shreelock
Code:
Javascript
2021-05-04 07:57:17
$(window).resize(function() { if ($(this).width() < 1024) { // your code } else { // your code } });
1
Tags
jquery
Related
jquery if else if
test if jquery works
javascript check if variable is a jquery object
current window url jquery
jquery if screen size
queryselector for jquery
detecting screen width in jquery
jquery this value
jquery element width
jquery check if url contains string
jQuery exists function
jquery check if screen size
New to Communities?
Join the community