Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > C++ > Scripting

Scripting - Page 2

21-40 of 689     Previous     Next
Convert a Date to mm/dd/yyyy Format in JavaScript
by Deepak Choudhari
The following code snippet provides a quick way to display a date in mm/dd/yyyy format.
Animate Images Along a Path in Web Pages
by MV Prem Kumar
This tip explains how to rotate the images in your web page in three simple steps.
Validate Email Addresses with a JavaScript Regular Expression
by Gang Liu
Did you know you can use a JavaScript Regular Expressions method to check email addresses? It is simple and efficient.
Invoking a Client-side JavaScript Function from the Server-side Code
by Deepak Choudhari
.NET allows you to call a JavaScript function from the server-side code. For example, suppose you want to to display a message box to the user. This can be accomplished in two steps.
Use AutoHotKey to Write a JavaScript Bookmarklet to the Browser Window
by Bryan Rasmussen
Find out how to use hotkeys and JavaScript together.
Javascript Errors in Firefox
by Balasubramanian Krishnaswamy
Because browsers other than IE don't create global variables for every part of the page/DOM, you need to qualify references to the form and its elements in non-IE browsers.
Improved JavaScript Error Handling
by Srinath MS
Learn how to improve your JavaScript error handling by using this small script on your Web pages.
Trimming Spaces in JavaScript Using a Regular Expression
by Jayadev D
Sick of iterating and removing space characters one by one? Learn how to use a regular expression to perform this task.
Use Javascript Templates in Static HTML Pages
by Jaya Nehru Kumar
Learn how to control your header and footer files centrally with JavaScript.
Using Firefox's JavaScript Console
by Loekito Mulyadi
Firefox's JavaScript Console alerts you to JavaScript errors.
Constrain an HTML Input Box to Uppercase
by Loekito Mulyadi
The easiest way to constrain an HTML input box to uppercase is to use the STYLE attribute inside the INPUT tag.
Printing an HTML Page in Landscape Mode
by Devendra Kumar
JavaScript does not allow you to set the page orientation so you can print in Landscape mode. Adding the following style to a page, directs the browser to do so.
Determine Whether a Value is Numeric
by Srinath MS
JavaScript has a built-in function called isNAN that can be used to check if a value is numeric or not.
Print a Web Page Without Prompting the Printer Dialog Box
by Jaya Nehru Kumar
Find out how this JavaScript code snippet allows you to print a Web page without prompting the printer dialog box.
Caching in JavaScript Improves Performance
by Srinath MS
Along with caching the objects, you can also enhance a script's performance by caching the entire script—in other words, by including it in a .js file.
Improve Javascript Performance by Caching Your Objects
by Srinath MS
Find out how to manage excessive calls to JavaScript objects.
A Quick Way to Display Text from a Database in ASP
by Ken Pendergast
This tip can help you save time when you want to display text from a database in ASP.
Closing a Popup Window Automatically
by Konstantinos Lagos
The code in this tip will close a popup window after the user selects to download the file, or if he/she cancels the download.
Modifying Client JavaScript Code at Runtime
by Eddy Spreeuwers
Find out how you can make new tags/components using JavaScript blocks.
Find Mouse Coordinates with Javascript
by Santhi Maadhaven
Find out how to use JavaScript to identify the coordinates of your mouse's position.
21-40 of 689     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date