Skip to main content

Posts

Showing posts from December 14, 2012

Javascript: Reserved words

Javascript: Reserved words In JavaScript, reserved words are a combination of keywords used for JavaScript and words that are reserved for use in future versions of JavaScript. You must be extremely careful not to use reserved words for the names of variables, functions, methods, or objects. The list of reserved words generally includes 59 different words, we also added a couple that the programmers are not sure about yet. The typical list of 59 reserved words is as follows.

Javascript - Page printing

Javascript - Page printing Many times you want to print the page or print any forms or informations. So this function is very helpful for all the web- programmers. The JavaScript print function window.print() will print the current web page when executed. You can call this function directly using onclick event as follows:

Javascript: Page redirection

Javascript: Page redirection Page redirection is very usefull technique for website development. If a user opens an x page then by using redirection method you can tell to open y page. But still users think they are viewing x page. This is very helpfull in the case when you move your domain name. And when some one enters the same url you can redirect to some other site without actually disturbing the visitors or any interuptions.