|
|
coderzone
Question Number 1
1.<FORM action=http://www.x.com/p/sv method=post>
2. Name: <INPUT type="text" name="name">
3. Address: <INPUT type="text" name="addr">
4. Email: <INPUT type="text" name="email">
5. Sex: <INPUT type=radio name=sex value=M>Male
6. <INPUT type=radio name=sex1...
|
|
7 |
5,801 |
|
|
pradeep
The Javascript Code :
function autoCompleteDB()
{
this.aNames=new Array();
}
autoCompleteDB.prototype.assignArray=function(aList)
{
this.aNames=aList;
|
|
28 |
26,908 |
|
 |
pradeep
Sometimes, we need to rotate images on ours web pages, it may be ads or some simple images.Below you'll find the code for implementing the same.
You can create as many image rotations you want, you just need to specify the urls of the images in an Array, and the object where the image will be...
|
09-01-2009 10:41 PM
by husen
|
7 |
60,057 |
|
|
naimish
Introduction
Any Excel Comparator does the comparison for single Tab at a time but this Entire script compares the number of tabs present in both the excel sheets provided.
Background
The VBScript needs to be provided with Source Files (to be compared) and a path for the Result File to...
|
|
6 |
3,516 |
|
|
pradeep
Sometimes we need the user to enter only numbers in a text field, so I have some up with a small piece of JavaScript to do exactly that. It works for both IE and Firefox.
function onlyNumbers(evt)
{
var e = event || evt; // for trans-browser compatibility
var charCode = e.which ||...
|
07-21-2009 01:01 PM
by Saket
|
10 |
32,391 |
|
 |
sun_kangane
Background
Many time we found the file worm.vbs in our computer in each dir.
worm.vbs may or may not be malicious. but when they execute's they consume CPU.
So, Better option is to remove them. but it is tough job as they exist in each dir.
I written a vbScript to...
|
|
4 |
1,637 |
|
 |
pradeep
Introduction
One Javascript function that gets used such frequently than it should to be is "eval". "eval" evaluates the content of a text string passed to it and then executes it as if it were normal Javascript code..
Actually, we should never use eval for any purpose in our code, be it...
|
|
8 |
9,638 |
|
|
Magena
Taken from Wikipedia.
Common errors
Some of the most common errors in the usage of XHTML are:
Failing to realize that documents won’t be treated as XHTML unless they are served with an appropriate XML MIME type
Not closing empty elements (elements without closing tags in HTML4)
...
|
|
3 |
1,364 |
|
|
Shree Limbkar
// The functions have been adapted from various sources
// and re-written to provide maximum flexibility
// and compatability with various browsers.
//Global Declarations
var ie = (document.all) ? true : false;
function toggleClass(objClass){
// This function will toggle obj...
|
|
9 |
5,512 |
|
 |
pradeep
Introduction
Some characters are reserved in HTML. For example, you cannot use the greater than or less than signs within your text because the browser could mistake them for markup.
If we want the browser to actually display these characters we must insert character entities in the HTML...
|
|
4 |
1,197 |
|
|
pradeep
I needed to trim a string and also replace more than one spaces with a single space. The solution was simple with String.replace in JavaScript. Here's the code:
var m = " My name is Pradeep ";
m = m.replace(/^+/,'').replace(/+$/,'').replace(/{2,}/,' '); Making a function out of it.
...
|
|
5 |
35,424 |
|
|
Sanskruti
Arrays are one way of keeping a program more organized. They allow you to do some things that are difficult without them. Arrays are usually a group of the same variable type that use an index number to distinguish them from each other. Suppose you wanted to write out 5 names, and use variables for...
|
|
3 |
5,804 |
|
 |
pradeep
Sometimes we need a sorted UL (un-ordered list) in a static page, like a blog, we can use JavaScript to the sort the list.
I faced a similar problem with my blog, so I implement a simple bubble sort on the list, the list will be sorted if the browser supports JavaScript, else it will still...
|
|
3 |
15,431 |
|
|
pradeep
Well all would have at some point of time needed to make a timer in JavaScript. I have made a timer in Javascript. The script shows the timer in the status bar,you can modify it to display the timer anywhere you want. Check out the code below:
var mins,secs,TimerRunning,TimerID;
...
|
|
4 |
30,898 |
|
|
Sanskruti
Creating an HTML document is easy. To begin coding HTML you need a simple-text editor. Notepad is the most basic of simple-text editors and you will probably code a fair amount of HTML with it. HTML has not been around for many years. November 1990 marks the day of the first web page and back then...
|
|
7 |
4,801 |
|
 |
pradeep
There are hundreds of DHTML trees available online, most of them and written from scratch, some easy to understand and implement, while others are real pain to customize. Some of them need a JavaScript array to be populated or read an XML file to generate the tree.
I've tried to develop one...
|
|
9 |
8,465 |
|
|
Rexy93
Basics of HTML
G’day mates during this tutorial I will teach you the basics of HTML.
Frequently Asked Questions
What does HTML actually stand for?
HTML stands for Hyper Text Markup Language.
Where can I learn HTML?
|
|
12 |
3,750 |
|
 |
pradeep
The following code works for capturing key presses on IE, Netscape, Opera 7,and somewhat with Opera 6.
<html>
<script language="JavaScript">
function keyHandler(e)
{
var pressedKey;
if (document.all) { e = window.event; }
if (document.layers) { pressedKey = e.which; }
|
03-27-2009 09:19 PM
by ClayC
|
9 |
12,429 |
|
 |
Obaid
JavaScript is the scripting language and is used for the web. It is used webpages for validating forms,adding different functionalities , for detecting different browsers and creating cookies. One can also improve the design of web page using JavaScript. With the help of JavaScript one can work on...
|
|
14 |
2,649 |
|
|
pradeep
All you all might be knowing, CSS based pages are search-engine friendly, so we all try to implement CSS in our web pages, so here are a few CSS tricks which will help you work with ease.
CSS font shorthand rule
When styling fonts with CSS you may be doing this:
font-weight:...
|
|
2 |
3,157 |