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






Amazing Message Box This JavaScript code creates a message box and shows an alert after the page gets downloaded. Use the test cases to invoke methods of the message box directly.


Category: Form, Table

Dynamic Form Fields I needed a form for students enrolling in training courses. I couldn't find exactly what I needed out there, so I built my own (borrowing some code from others (credits given in code)). The really important thing was that if, after changing the data, the applicant altered the number of students or hit the back button from the next page, the existing data would not be lost.

Feel free to do whatever with this code, no credit to me required. If you make it better, though, please feel free to e-mail me! Create a form that dynamically changes the number of fields available based on a select list value.


Category: Form

SelVal A function to set values in a textbox in a second form from a Select option list in the first form. This may be modified to go over frames also.


Category: Form, Dropdown

Validation (Information) Test the powers of Javascript. Watch as JavaScript tells you if information about you is valid or not.


Category: Form, Validation

Reserse text JavaScript will take the contents of a box and reverse it! If you entered 'hello' it will change the box to say 'olleh'. This might be useful on your site in a form or just for fun.


Category: Form, Textarea

Checkbox Changer Takes a series of known named checkboxes and checks or uncheck them all at once. It can even change each checkbox to the opposite checked or not checked value. Clever for loops!


Category: Form, Checkbox

Dual Function Button This JavaScript allows one button to have two or more functions.


Category: Form

Code Master This JavaScript is useful for code examples on your webpages.


Category: Form

Update Order Form w/o Page Refresh In this order form, the cost for each item is totaled as the items are selected and deselected. This is done without refreshing the entire page in order to save other form information. Heavily commented.


Category: Form, Validation

Tooltip for input This script detects the mouse position and waits for mouseover the inputs. Then it will show up a layer/div called 'Display' 95 pixels right to the cursor and write the appropriate help info text on this 'Display'. And as the mouse is out of the 'Display', the 'Display' would diappear....


Category: Form, Textarea

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