You're here: Snippet Directory » HTML/JavaScript (65)
Language:

Snippet Directory - HTML/JavaScript 

Categories

Menus & Navigation (1)

Snippets

Clear preset form value on focus

This snippet will clear the preset value in the form field when the field gets focus. Pretty neat effect... I think.

Language: English | Programming Language: JavaScript | Author: vikingghost [not registered]

clear textarea after click

Question: i am trying to clear an text area after i clicked it. how can i achieve that?

Language: English | Programming Language: JavaScript | Author: Thomas

ColorBars

This is a rather small javascript that creates a new HTML page with javascript. This page shows three colored bars (RGB). By clicking on a bar, and moving your mouse pointer over it, you change the corresponding color of the preview. By ...

Language: English | Programming Language: JavaScript | Author: gorby_ [not registered]

Conditional Comments for Internet Explorer

Eine sehr nützliche Angelegenheit. Vor allem, wenn Microsofts Browser, der ja nun schon mehr als 4 Jahre keine Updates mehr gesehen hat, mal wieder in Sachen Layout rumzickt, denn damit kann man ihm ne Extrawurst braten, ohne auf sonstigen ...

Language: Deutsch | Programming Language: HTML | Author: Thomas

Conversion to Content-Transfer-Encoding Quoted-Printable

This script will convert text to the Quoted-Printable type of Content-Transfer-Encoding that is commonly used for email. See RFC2045: "Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies for the ...

Language: English | Programming Language: JavaScript | Author: samray [not registered]

Das richtige JavaScript POPUP

Ab XHTML 1.1 ist das tag target="_blank" nicht mehr erlaubt, weil der User selbst entscheiden soll, wie sich das Fenster öffnet. Ein Trick für Webmaster ist JavaScript zu nutzen. Und es ist egal, ob JavaScript deaktiviert ist oder ...

Language: Deutsch | Programming Language: JavaScript | Author: ethan_hunt

Date and Time Formatter

A couple of simple JavaScript functions to format date and time into a more friendly form, easily adjustable for different languages and output format.Uses JavaScript v1.2

Language: English | Programming Language: JavaScript | Author: robstewart [not registered]

Deleting a Cookie

The browser checks the expire date of the cookie, which we set to "Thu, 01-Jan-70 00:00:01 GMT" by executing the following line:

Language: English | Programming Language: JavaScript | Author: m0ke [not registered]

DLLs in HTML JavaScript

This little example lets you load browser dependent JS into the file.

Language: English | Programming Language: JavaScript | Author: rudisoft [not registered]

Dynamic Table Filtering/Searching using DHTML and JavaScript

Easily add table filtering/searching capability to your webpage without requiring a round trip to the server! For a more detailed article (HOWTO), go here (http://www.codeproject.com/jscript/tablefilter.asp)

Language: English | Programming Language: JavaScript | Author: sidneychong [not registered]
RSS