google+javascriptbanktwitter@js_bankfacebook@jsbankrss@jsbank
Guest, register






Disable Form Controls Here's a simple form that contains a check box and a text box. Unless the check box is activated, you won't be able to enter anything into the text box.


Category: Form

Copy Name Allows the user to enter their name in the first field and have copies it to the second field for use as the User ID. It occurs instantly when they click the next field or the submit button. And, if the user tries to modify the second field, it is changed back to the value of the name field. Definitely a good example of the onChange() event handler in use.


Category: Form

Copy Fields Allows the user to click a checkbox on a form to duplicate information. For example, they can copy their billing information into the shipping information fields (assuming they are the same) with one click! Another useful timesaver for your visitors!


Category: Form

Select and Auto Copy With this script you can highlight and copy text in a textarea box with the click of a button. IE only (In Netscape, it only highlights the text; it doesn't copy it.)


Category: Form

Controlled Boxes This JavaScript allows checkboxes to check and uncheck based on the selection in another checkbox. If the ALL box is checked, all the other choices go unchecked. If another choice is checked, then the ALL box goes unchecked. Useful when constructing search forms, surveys, and more!


Category: Form, Checkbox

Validation (Character) Automatically removes specified characters from input box. Good for fields that require only text/number inputs. Easily modified to accept only text or only numerals.


Category: Form, Validation

Bitmap/Object Script This example demonstrates the use of bitmasking to store values in a single variable and how to use objects with JavaScript.


Category: Form

Binary Operators and CheckBox This JavaScript is a good example of the use of binary operations with check boxes to obtain a single number which is the binary representation of the selected check boxes. There is also a button to show you your selections in text form.


Category: Form, Checkbox

Auto Tab Automatically sets focus to the next form element when the current form element's maxlength has been reached. This way, the user does not have to manually click in or tab to the next field. This script is perfectly suited for constant-length strings such as a phone number or social security numbers. Nice!


Category: Form

Crazy Shaking Form Buttons This JavaScript shakes the form buttons. You can set the shaking speed of each button.


Category: Form, Button

iPhoneKer.com
Save up to 630$ when buy new iPhone 15

GateIO.gomymobi.com
Free Airdrops to Claim, Share Up to $150,000 per Project

https://tooly.win
Open tool hub for free to use by any one for every one with hundreds of tools

chatGPTaz.com, chatGPT4.win, chatGPT2.fun, re-chatGPT.com
Talk to ChatGPT by your mother language

Dall-E-OpenAI.com
Generate creative images automatically with AI

AIVideo-App.com
Render creative video automatically with AI

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web