google+javascriptbanktwitter@js_bankfacebook@jsbankrss@jsbank






Lock the Submit button by disabled property This script is a JavaScript example for locking some button by using disabled property.


Category: Snippet

Multiple Functions onLoad Let use this JavaScript code if you want to load serval functions with onLoad event. Very short script and easy to use, but you can load unlimited functions.


Category: Snippet

Current Document URL Displayer Sometimes we need to display current URL on page, and web developers usually provide the entire path with breadcrumb, certainly. these scripts will be complex. But if you only want simple JavaScript to do this, let place six code lines on where you want to display URL document.


Category: Snippet

Add CSS Stylesheet by JavaScript Normally, web developers will place CSS code into a pair of tags such as or to a CSS file. But in this snippet, we are creating CSS within JavaScript definition that browsers still understand these CSS properties. Although this CSS example is more complex than old CSS definition, but it is one of ways to develop website; you may consider this is CSS tutorial which quite worthy to see.


Category: Snippet

in_array() This snippet searches an array for a pre-specified element and returns 'true' if it's found, 'false' if it's not found. It functions like the in_array() in PHP.


Category: Snippet

Using the Target Attribute with JavaScript Sometimes you may need to open certain links in a new window. The 'target' attribute is deprecated and is therefore not allowed when using XHTML with a STRICT. But when use this JavaScript, you will be able to keep your pages valid while also using the target attribute to open new windows.


Category: Snippet

Removing Nodes Using the DOM You can remove existing nodes using the DOM. The removeChild method allows any node to remove one of its child nodes. Simply pass a reference to the node you wish to remove. Any text or innerHTML elements within the node being removed will be removed along with it.


Category: Snippet

JavaScript Includes When you start using Prototype, Scriptaculous, and other JavaScript libraries, you often end up with a dozen lines of script tags pulling in all of the code from different places. That would be fine if you never added a new library or never needed to swapped them out. This JavaScript will create a single JavaScript loader for each project that contains all of the scripts necessary.


Category: Snippet

Disable the Submit Button Sometimes it is a good idea to disable the submit button so that the user cannot make multiple submissions. This JavaScript snippet will do the trick. Very easy to use.


Category: Snippet

Copy to Page This JavaScript snippet will copy text entered into a form field and place it directly on the Web page.


Category: Snippet

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

Deepfake Video
Deepfake AI Video Maker

Deepfake
Deepfake AI Video Maker

AI Deep Fake
Deepfake AI Video Maker

AIvidio
AI Video Mobile Solutions

AIvideos
AI Video Platform & Solutions

AIvedio
AI Video App Maker

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

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