google+javascriptbanktwitter@js_bankfacebook@jsbankrss@jsbank






Set TextArea A simple example of setting a textarea by clicking one of several buttons.


Category: Form, Textarea

Scrollbar Of Buttons Creates a list of buttons. If there are too many buttons in a list, they can be scrolled.


Category: Form, Button

Converting a String to Title/Sentence Case This JavaScript helps you to convert a set of words to sentence case or title case. Ugly but quick JavaScript to convert a given sentence to title case.


Category: Form

Cell focus This JavaScript can be used to focus a cell.


Category: Form, Table

Form Focus Here's a helpful little script for anyone who has ever made a form and wants to have the cursor pop into their first field when the page is loaded. The visitor can start typing straight away, without moving the mouse.


Category: Form

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

Country Chooser Here's a useful script for a form that needs to know the visitor's country. It saves giving a huge list of countries in one box. For the USA, it also asks the state.


Category: Form, Dropdown

Adding HTML Controls Use this JavaScript to add HTML controls to your forms. This example uses the <input> tag.


Category: Form, Textarea

Dynamic Table Enter information into this dynamic table and see the power of W3C-DOM compatible browsers. Absolutely Amazing!


Category: Form, Table

\'Select-all\' form element Select the text from any form with the click of a button, just as used on the JavaScript Source. Easy!


Category: Form

AIVideo-App.com
Generate your business videos by AI with voice or just text

chatGPTaz.com
Talk to ChatGPT by your mother language

AppAIVideo
Your first FREE AI Video App

Faceswap AI Online
Swap Faces Video, Photo & GIFs Instantly with Powerful AI Tools - Faceswap AI Online FREE

Temu Free $500 for New Users
Claim Free Temu $500 Credit via Affiliate & Influencer Program

Free TikTok Ads Credit
Master TikTok Ads for Your Business Marketing

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

chatGPT4.win
Talk to ChatGPT by your mother language

First AI Product from Elon Musk - Grok/UN.com
Speak to Grok AI Chatbot with Your Language

Tooly.win
Open tool hub for free to use by any one for every one with hundreds of tools

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

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

Buy Tesla Optimus Robot
Order Your Tesla Bot: Optimus Gen 2 Robot Today for less than $20k

JavaScript by day


Google Safe Browsing McAfee SiteAdvisor Norton SafeWeb Dr.Web