|
|
JavaScriptMuhammad Ali Shahlatest articles
JavaScript
Feb 27, 2001 Comparing Dates Using JavaScript Comparing two dates is a problem general enough to get special attention. When you develop a general purpose solution to such problems, you have a reusable piece of code that can save you hours of reinventing the wheel.
Feb 13, 2001 Parsing Integers in JavaScript: Problems and Solutions for Invalid Inputs Converting strings to integer is an every day task for web developers. Those who have used JavaScript to validate forms already know the basics. We will see how JavaScript can help us and how a very basic insight into a simple function will eliminate redundant tasks.
Feb 6, 2001 You can't just ignore invalid input by the user. Validation can be done either at client side or at server side. But with client side scripting, you can verify the input as quickly as possible without causing precious trips to the server.
Jan 23, 2001 Use regular expressions to solve the problem of truncating decimal numbers on web pages. You can use this technique to show the result of a division upto two decimal places, etc.
Jan 9, 2001 Learn how to write functions that accept multiple arguments. With JavaScript, you can call such functions with variable number of arguments.
Jan 2, 2001 This week's article gives you an insight in a straight and simple manner into the event object and teaches you how you can use it in your pages. We will develop a page that opens up a new window and displays a help message whenever the user presses F2 key.
Dec 26, 2000 Continuing with the theme picked up in the last article, today we will see how to declare default event handlers. Default event handlers fire (or are called up) when the associated event occurs, without requiring a programmer to write explicit code. Along with that we will also see the event object. ...
Dec 19, 2000 The cyberspace is shifting from web pages to web applications. With this article we are starting a whole debate on advanced features of JavaScript - from event handling to DHTML. Our main focus will be on IE 5.x.
Dec 12, 2000 Todays article discussed the built in eval function which lets you define and execute code on the fly. Depending on values of different variables a particular statement may need to be executed at run time. This is where eval function comes in.
Dec 5, 2000 Learn the browser independent way of disabling right click on your pages. Possible uses include protecting your images from being saved in a novice manner. The technique is to capture the right button click in your document...
discussions
JavaScript
Disabling Right Click (1 msgs) Random numbers (1 msgs) Page browsing with arrow keys?? (1 msgs) Password protecting your pages (5 msgs) Date Comparison (1 msgs) IP grabber for IE (1 msgs) [No Title] (1 msgs) Netscape Javascript Error - Help (1 msgs) select value in ns4 (2 msgs) question (1 msgs) |
|
|
|
|
|
|
|