Alternating row colors in jQuery can be easily done using :even and :odd selectors. Let's apply these selector to a list and see the effect.
In some cases you can do things with a subquery that can't be done with join. However when using subqueries, there can be performance costs.
Using css you can improve the readability of large tables. Learn how to color alternating rows in a few lines of css code without using any server-side code or javascript.
By placing a robots.txt file in your root directory you can easily prevent robots from accessing your website. This file can be easily created using simple text editors like Notepad in Windows or TextEdit in Mac OSX.
In this post I will show you how easily you can generate a random lottery number using javascript.
We, as programmers often need to generate random numbers in different application. Generating a random integer in javascript can be done using the Math.random() method. In fact it is one of the several ways that we can use to generate a random number with javascript.
If you still can’t set your preferred domain, then read on to find out how to fix this error. The fix is quiet easy. You’ll simply need to add and verify your site once with www and once without it,
In this tutorial, I will explain how you can style odd/even rows without the need of any extra CSS class or JavaScript code.
Creating standard-compliant websites is principal aspect of our work. To test if your page is in quirks mode mode you can simply bookmark this JavaScript code on your browser and hit it while viewing the page that you want to find out its rendering mode.