Show: All tutorials Toxiclab tutorials
JavaScript : encodeURI() function
15.10.2012 20:26 in JavaScript | 0 comments | source: | 2370 clicks
The encodeURI is used to encode a Uniform Resource Identifier (URI) by replacing each instance of certain characters by one, two or three escape sequences representing the UTF-8 encoding of the character.
JavaScript : Comparison Operators
06.10.2012 17:26 in JavaScript | 0 comments | source: | 2335 clicks
Sometimes it is required to compare the value of one variable with other. The comparison operators take simple values (numbers or string) as arguments and evaluate either true or false. Here is a list of comparison operators.
JavaScript round() Method : Math Object
15.09.2012 16:47 in JavaScript | 0 comments | source: | 2442 clicks
The round() method of math object is used to get the value of a number rounded to the nearest integer. If the fractional part of the number is greater than or equal to .5, the argument is rounded to the next higher integer. If the fractional part of number is less than .5, the argument is rounded to the next lower integer.
JavaScript : HTML Form - date checking [dd-mm-yyyy format]
15.09.2012 16:47 in JavaScript | 0 comments | source: | 2556 clicks
It is very important to validate the data supplied by user through a form, before you process it. Among various kind of data validation, validation of date is one.
In this tutorial, we discussed how you can perform JavaScript date validation in dd/mm/yyyy or dd-mm-yyyy format.
JavaScript while loop
03.09.2012 10:28 in JavaScript | 0 comments | source: | 2499 clicks
In JavaScript the while loop is simple, it executes its statements repeatedly as long as the condition is true. The condition is checked every time at the beginning of the loop.
JavaScript Tutorial
03.09.2012 10:28 in JavaScript | 1 comments | source: | 2435 clicks
In this series of tutorials we have covered JavaScript 1.5 in detail. While creating this, we have taken care that learners can master the basics of JavaScript.
JavaScript : Reading Cookies
03.09.2012 10:28 in JavaScript | 1 comments | source: | 2468 clicks
When a browser opens a web page, the browser reads the cookies (provided it has already stored it) that has stored in your machine. We used document.cookie to retrieve the information about the cookie.