spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com


Business Systems Analyst - Clearing - SQL Server - ASP - VB (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume
Developer News
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans


logo

Pop-up Calendar 1.2
The new attributes



Include these new attributes as you would all the other calendar attributes.

The original base attributes are outlined in the DHTML Lab Popup Calendar 1.0 discussion.

Supplementary "empty-date-option" attributes were added in DHTML Lab Popup Calendar 1.1.

The new attributes are:

input_element_id_year,
input_element_id_month and
input_element_id_date

They are extensions of the Version 1.0 input_element_id attribute, included below for reference.

 
input_element_id    input_element_id = "myVisibleInputElementID"
input_element_id = "myHiddenInputElementID"
input_element_id = "myTextareaElementID"

Specifies a text input ( <input type="text"> ), hidden text input ( <input type="hidden"> ), or textarea ( <textarea> ) element for displaying or storing a user-selected date.

Make sure the attribute value is identical to your form element's unique id attribute. If your input HTML is:

<input type="text" id="flightdate">

the attribute should be:

input_element_id = "flightdate"

The script does not provide a default input_element_id value.

Usage Suggestion:
Use only if you need the date displayed in-page or you need to pass the information to your server via a form.

 
input_element_id_year    input_element_id_year = "myVisibleInputElementID"
input_element_id_year = "myHiddenInputElementID"
input_element_id_year = "myTextareaElementID"
input_element_id_year = "mySelectElementID"

Specifies a text input ( <input type="text"> ), hidden text input ( <input type="hidden"> ), textarea ( <textarea> ), or select ( <select> ) element for displaying or storing the year value of a user-selected date.

Make sure the attribute value is identical to your form element's unique id attribute. If your input HTML is:

<input type="hidden" id="flightdateYear">

the attribute should be:

input_element_id_year = "flightdateYear"

The script does not provide a default input_element_id_year value.

Usage Suggestion:
Use only if you need the year displayed in-page or you need to pass the information to your server via a form.

 
input_element_id_month    input_element_id_month = "myVisibleInputElementID"
input_element_id_month = "myHiddenInputElementID"
input_element_id_month = "myTextareaElementID"
input_element_id_month = "mySelectElementID"

Specifies a text input ( <input type="text"> ), hidden text input ( <input type="hidden"> ), textarea ( <textarea> ), or select ( <select> ) element for displaying or storing the month value of a user-selected date.

Make sure the attribute value is identical to your form element's unique id attribute. If your input HTML is:

<select id="flightdateMonth">

the attribute should be:

input_element_id_month = "flightdateMonth"

The script does not provide a default input_element_id_month value.

Usage Suggestion:
Use only if you need the month displayed in-page or you need to pass the information to your server via a form.

 
input_element_id_date    input_element_id_date = "myVisibleInputElementID"
input_element_id_date = "myHiddenInputElementID"
input_element_id_date = "myTextareaElementID"
input_element_id_date = "mySelectElementID"

Specifies a text input ( <input type="text"> ), hidden text input ( <input type="hidden"> ), textarea ( <textarea> ), or select ( <select> ) element for displaying or storing the date value of a user-selected date.

Make sure the attribute value is identical to your form element's unique id attribute. If your input HTML is:

<select id="flightdateDate">

the attribute should be:

input_element_id_date = "flightdateDate"

The script does not provide a default input_element_id_date value.

Usage Suggestion:
Use only if you need the date displayed in-page or you need to pass the information to your server via a form.

On the next page is a bit more detail on using separate text inputs.



Send a comment or suggestion to Peter Belesis


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Search Engine Optimization: Selecting and Embedding Keywords · Are Google's Language Translation Web Services Ready for Prime Time? · Installing and Using Meeplace, the Business Review CMS
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
IBM DB2 10 for z/OS: Justifying the Upgrade · Living La Vida Colo: Choosing the Right Colocation Facility · FTC Concerns over Social Media Privacy Linger

Created: October 20, 2004
Revised: October 20, 2004

URL: http://webreference.com/dhtml/column71/3.html