Delete all rows of a table in JQuery except first row
$(document).ready(function() { $("#myTable").find("tr:gt(0)").remove(); });
$(document).ready(function() { $("#myTable").find("tr:gt(0)").remove(); });
Mono for android solution. Tested on android v2.3 protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Create your application here...
Very handy code to redirect mobile users to your mobile website. Simplify put it on the home page of your...
Get screen width and height on a webpage using JavaScript using the screen object <script type="text/javascript"> document.write(screen.width+'x'+screen.height); </script>
Hiding a DIV using javascript document.getElementById('myDIV').style.display = 'none'; Showing it back document.getElementById('myDIV').style.display = '';