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






JavaScript Off Redirect Here's a trick that will redirect a browser when JavaScript is turned off. Why not redirect the ones that have JavaScript? Less than 10% of browsers have JavaScript turned off; therefore, redirecting less than 10% of visitors is better than redirecting over 90%.


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

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

Popup Blocker Detection Use this JavaScript snippet to detect if the client browser is using a popup blocker. If a one is detected, the script can then perform a different action. The sample uses an alert box to inform the user whether a popup blocker is present or not.


Category: Snippet

Thumbnail A very simple, one line image enlarger. Nice and neat!


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

Changing the Content of Elements Using innerHTML If you don't need to support Netscape 4, code for changing the content of elements is very simple. This code can be used whether the elements are regular inline elements or positioned divs. You can change the content onmouseover and onclick.


Category: Snippet

All Lower Case Converts a textbox entry to all lowercase letters as soon as they move to the next item in the form (or click the submit button).


Category: Snippet

Popup with parameters This JavaScript make a popup with options as position, toolbar, menu,...


Category: Snippet

Scroller for Objects This JavaScript snippet can be used to make scroller for objects as tables, divs, span,...


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