Responsiveness on mobile devises – jQuery width Alert

Alert Mobile Device Width With jQuery

I use this when doing responsive coding on mobile devices.. It helps.. just to alert the different devices widths.. make sure your site is looking good across all screen sizes.

<script type=”text/javascript”>
$( document ).ready(function() {
var W = $(window).width();
alert(W);
});
</script>

Leave a Reply

Your email address will not be published. Required fields are marked *