MattsBits
MattsBits

MattsBits

Techniques, code snippets, examples and information relating to PLSQL, Javascript and APEX

RSS Feed for JavaScript category

Category : JavaScript

This category contains all articles related to JavaScript. This is a scripting language which provides enhanced user interfaces and dynamic websites.

JavaScript to Set Current Date

This JavaScript function shows how you can populate two text boxes with the current date and time when clicking an HTML button.

[Read More]

Replace Table Cell Contents With jQuery

The following jQuery script allows you to search for and replace the contents of a table cell with some other content. This can be used to dynamically format your table data.

[Read More]

Use Javascript To Create A Button Link

You can use Javascript to create a button that when pressed will provide a link to a specific URL.

[Read More]

Show And Hide DIVs Using JQuery

The jQuery library can be used to easily show or hide DIVs within your HTML pages. The following example shows how it can be done.

[Read More]

Clear Radio Buttons With Javascript

Once a radio button has been selected there is no way for the user to reset the selection and select nothing. This javascript function clears the radio buttons for a radio group.

[Read More]

Left And Right Pad A String With JS

The following functions allow you to Left or Right pad a string with a specified number of characters. Lpad(pStart,pTotalSize,pPad) Rpad(pStart,pTotalSize,pPad)

[Read More]

Get Windows Username In IE With JS

The following script allows you to extract the user name of the current Windows user within an HTML page using Javascript. Unfortunately it only works within Internet Explorer.

[Read More]

Add A Text Counter To An HTML Text Area

This article will explain how to add a text counter to a standard HTML textarea element. This allows you to display remaining characters to your users as they type inside the text area.

[Read More]

Remove Select List Options With JS

Sometimes you need to remove options from an HTML select list using Javascript. The following function can be called to remove options from a select list given the value of the relevant option.

[Read More]

Set The Visibility Of HTML Items By ID

The following JavaScript function allows you to set the visibility of an HTML element to be visible or invisible by the value of its ID attribute. It also allow you to toggle the current visibility.

[Read More]

PHP Powered  MySQL Powered  Valid XHTML 1.0  Valid CSS  Firefox - Take Back The Web  EUKHost - Recommended Webhosting Solutions

MattHawkins CMS v3.0 - Copyright 2009-2022