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






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

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