$(window).resize(function(){
/// code here ///
})
<script>
$(document).ready(function() {
// Jquery code here ///
$(window).resize(function(){
$('#d1').html("Resize event, : window width :"+ $(window).width())
})
////
});
</script>
<div id=d1>Resize this window</div>
Most Popular JQuery Scripts | |
1 | Two dependant list boxes |
2 | Calendar with Date Selection |
3 | Data change by Slider |
4 | Show & Hide element |