Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...These forums are an excellent source and example of the way people can help each other..."

Geography

Where in the world do Tek-Tips members come from?

Javascript FAQ Index

FAQ Index

Add numeric values together

FAQ Title Author Date Rating/#
How do I add numeric values dynamically without hitting the 'Submit' button? (version 1)  faq216-6644 GUJUm0deL 11 May 07 --
How do I add/subtract numeric values dynamically without hitting the 'Submit' button? (version 2)   faq216-6645 GUJUm0deL 11 May 07 --
 

Applications

FAQ Title Author Date Rating/#
How do I create a popup window   faq216-2034 onpnt 5 Nov 02 8.3 / 12
Javascript Tile Puzzle   faq216-4410 mwolf00 18 Dec 03 10.0 / 2
Simple VAT Calculator   faq216-1428 BigBadDave 9 Jun 02 5.8 / 4
What is DynAPI?   faq216-3561 missbarbell 9 May 03 --
 

AutoRun any file type

FAQ Title Author Date Rating/#
How do I   faq216-4759 codeone 22 Jan 04 8.0 / 4
 

Benchmarking

FAQ Title Author Date Rating/#
Benchmarking tool   faq216-6103 jemminger 10 Nov 05 --
 

Browser Enhancements

FAQ Title Author Date Rating/#
Bookmarklets / Favelets / JavaScript Tools  faq216-4345 adam0101 20 Sep 05 9.5 / 20
 

Checkboxes

FAQ Title Author Date Rating/#
Checkbox overview   faq216-1048 kristof 29 Aug 01 4.1 / 7
How do I create multiple exclusive checkbox groups?   faq216-6889 1Oracle 27 Feb 08 2.0 / 1
 

controling sound (IE)

FAQ Title Author Date Rating/#
How to controle playing of sounds.   faq216-4251 N3XuS 3 Oct 03 --
 

Cookies

FAQ Title Author Date Rating/#
How do I let users decide which stylesheet they want, and then store it in a cookie?   faq216-6093 cLFlaVA 4 Nov 05 --
How to Read and Write multiple Cookie variables   faq216-1956 tlhawkins 22 May 02 5.5 / 2
Let the user know when they last visited your web site  faq216-2297 adrikev 9 Apr 12 8.0 / 1
 

Counter Code

FAQ Title Author Date Rating/#
How do I write counter code that works from a local or network text file?  faq216-5305 BillyRayPreachersSon 3 May 06 --
 

Cursor Manipulation

FAQ Title Author Date Rating/#
How do I change my mouse pointer with JavaScript?   faq216-3280 Einstein47 7 Mar 03 8.3 / 4
 

Custom User Controls

FAQ Title Author Date Rating/#
Is there a control to select a Folder?  faq216-5201 adam0101 2 Feb 06 10.0 / 3
 

Date format

FAQ Title Author Date Rating/#
checking date format   faq216-567 SeAL 19 Mar 01 5.5 / 6
Creating a folder tree view   faq216-734 greyone 16 May 01 3.7 / 3
How to validate and re-format date inputs (default set to DD-MON-YYYY)   faq216-706 joezapp 4 May 01 10.0 / 2
Passing objects to functions called by setTimeout   faq216-632 philcha 9 Apr 01 6.8 / 6
 

DHTML

FAQ Title Author Date Rating/#
Change Part of a loaded HTML Page   faq216-5686 kpetursson 16 Feb 05 --
Dynamic CSS and JS loading  faq216-6458 dkdude 9 Nov 06 --
Dynamically including JavaScript files   faq216-6698 adam0101 1 Aug 07 9.3 / 4
How to keep content on the screen when scrolling (without that annoying animation that you see on other sites!)  faq216-4076 adam0101 20 Sep 05 6.5 / 6
Swap the CSS file based on screen size   faq216-4536 BlindPete 3 Dec 03 6.0 / 1
 

Document Object Model (DOM)

FAQ Title Author Date Rating/#
Document Object Model (DOM) For a Table   faq216-3588 mwolf00 15 May 03 5.3 / 3
How can I get all elements by their class (frequently called getElementsByClass or getElementsByClassName)  faq216-6104 BillyRayPreachersSon 14 Oct 06 10.0 / 1
Using JavaScript And DOM to Sort a Table   faq216-3599 mwolf00 19 May 03 8.3 / 3
 

Drag and Drop

FAQ Title Author Date Rating/#
How to move table rows around using drag and drop  faq216-5190 BillyRayPreachersSon 27 Jun 07 1.0 / 1
 

dynamic listboxes !

FAQ Title Author Date Rating/#
Creating new select list options dynamically   faq216-4766 simonchristieis 6 Feb 04 7.3 / 4
event handlers  faq216-344 jaredn 18 Dec 00 5.8 / 9
How do I create multi-level select / list / drop down boxes?  faq216-6294 BillyRayPreachersSon 10 May 06 5.5 / 2
how to dynamically modify the list in a listbox ?  faq216-335 iza 14 Dec 00 7.8 / 11
 

E-Mail Spammers

FAQ Title Author Date Rating/#
• Protect your email address   faq216-2195 SPYDERIX 27 Jun 03 8.3 / 6
Protect your email address - another way   faq216-4517 Lupo 1 Dec 03 1.0 / 3
 

errors

FAQ Title Author Date Rating/#
access denied   faq216-5040 jemminger 15 Apr 04 6.5 / 2
 

Event Handling

FAQ Title Author Date Rating/#
Change handlers on-the-fly   faq216-1063 baad 30 Aug 01 8.0 / 1
Event Bubbling (in IE)  faq216-425 jaredn 24 Jan 01 7.2 / 5
How to check activity on your page.   faq216-2700 Targol 5 Nov 02 6.3 / 4
How to prevent page reloading with a non-submitted form   faq216-6708 BabyJeffy 7 Aug 07 10.0 / 2
Making a <INPUT type=button> behave like the browser BACK button   faq216-3897 jpbrassard 15 Jul 03 --
onKeyPress Quick Navigation in IE and Netscape   faq216-1052 jsLove 29 Aug 01 5.5 / 2
 

form elements

FAQ Title Author Date Rating/#
disabling form elements  faq216-795 baad 5 Jun 01 3.8 / 6
How to create a combo box (autocomplete list box) - Cross browser compatible  faq216-5748 BillyRayPreachersSon 3 May 06 --
How to create an autocomplete select box  faq216-4818 nmath 23 Apr 04 5.5 / 2
How to disappear and re-appear form elements   faq216-3350 EdwardMartinIII 4 Jun 03 8.5 / 2
How to make enter behave like tab in dynamic form  faq216-6014 jonto786 9 Aug 05 --
How'd they do it in Hotmail ?   faq216-997 Deadline 14 Aug 01 3.3 / 3
Query String Generator  faq216-4364 Lrnmore 12 Aug 05 --
Selecting specific text in a textarea  faq216-6479 BillyRayPreachersSon 3 Dec 06 --
Sorting a select box  faq216-5347 BillyRayPreachersSon 3 May 06 10.0 / 1
Submit form when hitting return   faq216-4806 simonchristieis 3 Feb 04 --
 

Frames

FAQ Title Author Date Rating/#
How to dynamically resize a frame  faq216-5703 BillyRayPreachersSon 3 May 06 2.0 / 1
Interaction with frames  faq216-931 kristof 24 Jul 01 6.3 / 12
Open Page in a Frame/Destroy Frames   faq216-3190 4x4uk 16 Feb 03 --
 

Functions

FAQ Title Author Date Rating/#
Delete specific char from textfield/String var   faq216-5877 bclt 18 May 05 9.0 / 2
Not sure how many function parameters?   faq216-4729 simonchristieis 16 Jan 04 1.0 / 1
Randomizing a list of items   faq216-3878 caitlin 11 Jul 03 --
Supporting arguments.length on IE v5 and below  faq216-6126 BillyRayPreachersSon 3 May 06 --
 

General

FAQ Title Author Date Rating/#
What is Javascript?   faq216-6094 BabyJeffy 6 Nov 05 8.2 / 6
 

Graphics Display

FAQ Title Author Date Rating/#
Creating a colour gradient background without images  faq216-5889 BillyRayPreachersSon 3 May 06 --
Detecting the dimensions of an image client-side  faq216-5781 BillyRayPreachersSon 27 Jun 07 9.0 / 1
Dynamic client-side image creation  faq216-6010 BillyRayPreachersSon 3 May 06 --
How do I display graphics using JavaScript?   faq216-3516 EdwardMartinIII 5 May 03 9.0 / 1
Javascript Colour Picker   faq216-3521 dwarfthrower 2 May 03 9.7 / 3
Listing all fonts on a user's computer  faq216-5799 BillyRayPreachersSon 27 Jun 07 --
Selective preloading of linked images  faq216-4652 BillyRayPreachersSon 12 May 06 10.0 / 4
 

Helpful links

FAQ Title Author Date Rating/#
More on official documentation  faq216-383 jaredn 3 Jan 01 10.0 / 1
Where to find the official documentation  faq216-357 tanderso 23 Dec 00 10.0 / 1
 

Hiding source code

FAQ Title Author Date Rating/#
How do I keep my source code secret?  faq216-355 tanderso 23 Dec 00 6.9 / 39
How to hide your source code   faq216-5090 Supra 30 Apr 04 5.5 / 4
 

How to disable ....

FAQ Title Author Date Rating/#
IE6+ Image Toolbar   faq216-3602 jemminger 20 May 03 10.0 / 1
VIEW-SOURCE  faq216-4765 jemminger 8 Nov 05 6.8 / 12
 

Javascript Events

FAQ Title Author Date Rating/#
An Alternative to Dreamweaver's MouseOver fucntion   faq216-5355 tviman 5 Aug 04 --
How to use multiple window.onload events with external scripts  faq216-4862 adam0101 20 Sep 05 --
Table cell background color onMouseOver   faq216-1227 Glowball 30 Oct 01 7.6 / 7
 

JavaScript Links

FAQ Title Author Date Rating/#
How to make links that open new windows  faq216-594 petey 9 Apr 04 7.6 / 9
JavaScript References  faq216-5228 BillyRayPreachersSon 16 Mar 07 1.0 / 1
 

Javascript Search Engine

FAQ Title Author Date Rating/#
Creating a 'Google" search for your site.   faq216-4872 GUJUm0deL 22 Feb 04 10.0 / 1
How can I have a search engine on my site??   faq216-1332 GUJUm0deL 3 Jul 02 8.8 / 8
 

jQuery

FAQ Title Author Date Rating/#
Create dynamic draggable windows.  faq216-7570 Geates 9 Jul 12 --
 

just programming features

FAQ Title Author Date Rating/#
pass variable by its address (pointers)   faq216-958 baad 2 Aug 01 9.0 / 1
 

Menu Features

FAQ Title Author Date Rating/#
How to write dynamic menus with JS and hidden divs.   faq216-3320 Targol 12 Mar 03 7.6 / 5
 

Navigation

FAQ Title Author Date Rating/#
How to detect if shift key is pressed when clicking on a link   faq216-4893 bustell 27 Feb 04 1.0 / 1
Listbox Navigation   faq216-4155 webmigit 12 Sep 03 2.0 / 1
 

Netscape/IE differences

FAQ Title Author Date Rating/#
My javascript works in IE, but not Netscape   faq216-1209 bgreenhouse 26 Oct 01 4.8 / 4
 

Network

FAQ Title Author Date Rating/#
How do I detect whether my computer is online or offline?  faq216-6639 BillyRayPreachersSon 9 Apr 12 --
 

Object Referencing

FAQ Title Author Date Rating/#
Using brackets as an alternative to dot notation and eval()  faq216-3858 adam0101 20 Sep 05 8.4 / 10
Why do I get a null or not an object error?   faq216-3046 onpnt 19 Jan 03 8.5 / 2
 

Objects

FAQ Title Author Date Rating/#
How to show more detail about an object  faq216-6325 BillyRayPreachersSon 17 Jun 06 --
 

Opening and closing a window

FAQ Title Author Date Rating/#
Options available for new windows.  faq216-329 GIGN 11 Dec 00 6.0 / 11
Center a New Window   faq216-3542 jemminger 6 May 03 5.0 / 2
Closing all popup windows  faq216-4783 BillyRayPreachersSon 27 Jun 07 2.0 / 1
Detecting if a popup has been blocked  faq216-5752 BillyRayPreachersSon 27 Jun 07 --
How do I center a popup window for all resolutions   faq216-2296 adrikev 28 Feb 03 --
How do I open a new window in JavaScript and then change the opener's URL, closing the new window?  faq216-115 carpeliam 7 Jul 00 6.1 / 12
How do I pop open a "worksheet" window, and then pass the results back to the calling window?   faq216-3388 EdwardMartinIII 1 May 03 9.4 / 5
How to close all open popup windows you opened  faq216-4740 simonchristieis 29 Oct 04 1.0 / 1
How to disable right click in browsers  faq216-220 NickBulka 8 Sep 00 2.8 / 5
 

Opera browser

FAQ Title Author Date Rating/#
Opera browser identification   faq216-1512 starway 30 Jan 02 10.0 / 1
 

Pass value to checkbox

FAQ Title Author Date Rating/#
How to pass a value from Drop-down to Textbox...   faq216-2024 GUJUm0deL 11 Jun 02 8.3 / 3
 

Printing

FAQ Title Author Date Rating/#
How can I guarantee printing format?   faq216-738 link9 7 Mar 02 7.4 / 17
How do I print all frames?   faq216-803 XMLidiot 6 Jun 01 4.0 / 3
How to print an alternate view of your page  faq216-5769 adam0101 17 Oct 07 10.0 / 1
 

radio button groups

FAQ Title Author Date Rating/#
Detecting selected radio button.  faq216-342 GIGN 17 Dec 00 6.8 / 8
 

Resolution fixer

FAQ Title Author Date Rating/#
how to relocate a positioned element  faq216-430 GIGN 27 Jan 01 --
 

Run a html program off a CD:

FAQ Title Author Date Rating/#
How to run your HTML programs from a CD:   faq216-3391 codeone 22 Jan 04 2.0 / 3
 

Searching Google...

FAQ Title Author Date Rating/#
How Googlebot Handles Javascript   faq216-6740 KABUSA 27 Sep 07 --
How to have a web search box on your site...   faq216-1702 GUJUm0deL 27 Mar 02 3.7 / 3
 

Sending data between pages

FAQ Title Author Date Rating/#
Communicating between two windows --   faq216-692 link9 27 Apr 01 7.9 / 19
How to send a string to another page e.g. simple online photo almbum   faq216-5172 danbhala 2 Jun 04 --
setting variable with query strings  faq216-343 GIGN 17 Dec 00 8.7 / 12
 

Show and Hide div tags

FAQ Title Author Date Rating/#
How to show and hide using div's   faq216-5923 GUJUm0deL 16 Jun 05 9.0 / 1
 

Strings

FAQ Title Author Date Rating/#
Converting HTML character entities to characters   faq216-6361 BillyRayPreachersSon 28 Jul 06 --
trim(), startsWith() and endsWith() in JavaScript?  faq216-6620 Jay1Roy 17 Apr 07 --
 

Tables ehancement

FAQ Title Author Date Rating/#
How to dynamically reorder table content ?   faq216-2692 Targol 4 Nov 02 7.0 / 2
How to let your users move entire columns in a table around?   faq216-5220 friendlyposter 18 Jun 04 --
Showing / hiding table columns  faq216-5397 BillyRayPreachersSon 3 May 06 --
 

Validation

FAQ Title Author Date Rating/#
A simpler form of numeric validation  faq216-6160 GUJUm0deL 10 Feb 06 10.0 / 1
Another Regular Expression Based Validation   faq216-4073 Tarwn 27 Aug 03 9.5 / 2
Clicking a certian radiobutton means you MUST check the checkbox...  faq216-419 GUJUm0deL 20 Jan 01 7.5 / 4
Ensure that the user enters a valid decimal number   faq216-2819 erayoral 29 Nov 02 --
Ensure that the user enters only digits   faq216-2818 erayoral 29 Nov 02 10.0 / 1
How to validate a US Phone Number on the fly   faq216-3343 EdwardMartinIII 17 Mar 03 8.7 / 3
My form still submits even though I validate it.   faq216-2809 HellTel 27 Nov 02 8.7 / 3
Non-RegExp Email Validation Script  faq216-5701 BillyRayPreachersSon 27 Jun 07 10.0 / 1
Validate: StartDate < EndDate   faq216-3707 Rougy 16 Jun 03 8.5 / 2
Validation using Object-Oriented Patterns   faq216-1165 Glowball 14 Oct 01 7.7 / 6
 

Validation via Arrays

FAQ Title Author Date Rating/#
Validating a form (easier step)   faq216-1556 GUJUm0deL 7 Feb 02 8.7 / 3
 

variable passing

FAQ Title Author Date Rating/#
How do I pass variables between two pages? (GET method)  faq216-5442 chessbot 24 Apr 06 7.5 / 4
Modifying parent data from modal dialog   faq216-5782 dace 29 Mar 05 --
 

window.opener

FAQ Title Author Date Rating/#
Pass a anchor back to the opening window   faq216-5336 GUJUm0deL 27 Jul 04 1.0 / 1
 

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close