source attribute for regexp (JavaScript 1.2)

A read-only property that contains the text of the pattern, excluding the forward slashes.

Values

Example
No example available.

Examples having uses of JavaScript attribute 'source'

1 votes
10k views

HTML5 source

The <source> tag is used to specify multiple media resources for media elements, such as <video> and <audio>. The <source> tag allows you to specify alternative video/audio files which the browser may choose from, based on its media type or codec support.
10 votes
10k views

HTML5 Video

The HTML5 <video> element also has methods, properties, and events and methods for playing, pausing, and loading, for example. Properties (e.g. duration, volume, seeking) that you can read or set. There are also DOM events that can notify you, for example, when the <video> element begins to play, is paused, is ended, etc.
4 votes
8k views

HTML5 audio

The <audio> tag defines sound, such as music or other audio streams. Tip: Any text inside the between <audio> and </audio> will be displayed in browsers that do not support audio.
0 votes
0 views

The HTML5 source tag

The <source> tag is used to specify multiple media resources for media elements, such as <video> and <audio>. The <source> tag allows you to specify alternative video/audio files which the browser may choose from, based on its media type or codec support.