Browser Test Scripts JavaScript / User Info
Customize your content for your visitors by checking their browser type, screen resolution, or whether or not they have Flash.
Check All/Clear All links for dynamic check-boxes (IE4+ & NN4+) JavaScript / DHTML and DOM
In forms when using check boxes for a list of records that is generated dynamically (example: display of messages in your yahoo or hotmail inbox) you might want a simple feature of checking or clearing all the check boxes related to those records before deleting or moving. Use this simple script to do just so.
Conditional Operators JavaScript / General Development
Conditional statements allow you to control the flow of execution of a script or one of its sections. To do this, you use some keywords and associate them with expressions to check. Depending on the outcome of the checking process and other comparison operations, you can take appropriate actions. Most of the conditional statements perform comparisons and act depending on the outcome of such comparisons. To assist you in making such comparisons, the JavaScript language is equipped with special operators that can act on natural numbers, decimal numbers, or strings.