Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > C++ > Scripting

Scripting - Page 3

41-60 of 689     Previous     Next
Dynamic <div> Tags
by Srimoyee Panda
The following code show how to use JavaScript to make a <div> tag dynamically and then add events of onmouseclick to it
Text Scrolling on a Click Event
by Santhi Maadhaven
This code scrolls the text left and right on a click event.
Accessing Server Controls Using JavaScript
by Santhi Maadhaven
Find out how to access your server controls using JavaScript.
Set Your onclick Event to Occur on the Client Before the Server
by Huang Rickel
Follow these three simple steps to set your onclick event to occur on the client before it occurs on the server.
Use JavaScript to Scale an Image According to Window Size
by Santhi Maadhaven
Learn how to use JavaScript to scale an image according to window size.
Dynamically Remove HREF from the Anchor Tag
by Jaya Nehru Kumar
Find out how this simple JavaScript code dynamically removes the link from an anchor tag.
Display Alert Messages on Separate Lines
by Santhi Maadhaven
Using '\n' in between words in your code allows you to display messages on separate lines.
Configure the Behavior of Servlets While They Are Loaded
by Amit Tuli
Find out how to use the initialization parameter to configure the behavior of servlets while they are loaded.
Display All the Subfolders Within a Folder Using VBscript
by Parthasarathy Mandayam
Find out how to use VBscript's Filesystemobject to list all the subfolders in a folder.
Partially Optional Function Parameters in VBScript 5.0+
by Parthasarathy Mandayam
Did you know that VBScript doesn't require you to provide all of a function's parameters when you call it? Learn how to use this feature with this tip.
Allow Unrestricted Use of Quotes and Apostrophes in User Input
by Hercules Gunter
This simple filtering technique allows unrestricted use of quotes and apostrophes, and can help guard against many SQL injection attacks to boot.
Connect to the DB for Multiple .cgi Web Services with PERL
by Cem Aykan
Eliminate the hassle of typing all your DBI information into your Perl .cgi scripts. This function retrieves the information from a .dat file on the server, and parses it for the DBI.
Launch a Process with the WshShell Exec Method
by Stephane Courcy-Poitras
The WshShell Exec method can be used to launch a process. This function uses it to launch a command line and return it's output, with a timeout parameter.
Extracting Parameters from a File Using Regular Expressions
by Stephane Courcy Poitras
Learn how to extract parameters from a file using regular expressions.
Track Process Runtime for Perl Scripts
by Jaime Bellmyer
Knowing your runtimes helps to prevent inefficient code, and allows you to calculate larger batches. This tip shows you how.
Write to a Perl File Using Flock
by Jaime Bellmyer
Learn how to write to a Perl file using the flock function.
Dynamic, Location-based Home Page Selection
by Siddharth Vajirkar
Use this Javascript code to direct your browser to change your homepage based on your location.
Execute Form Processing Code Without the BODY Tag
by Michael Sanchez
This JavaScript function allows you to execute form processing code once the page load event was fired without access to the BODY tag.
Identifying Memory Leaks in Linux for C++ Programs
by Karthik Kumar Arun Kumar
The mtrace() function logs all memory leaks. Next, the memory allocations and deallocations are logged to a text file pointed to by the environment variable MALLOC_TRACE. Finally, a Perl utility called mtrace parses the text file logged by your program and identifies the memory leaks.
Creating a Python Executable File Using makeExe.py
by Premshree Pillai
This file creates an executable file from a Python file specified by the user and writes the new executable to disk.
41-60 of 689     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date