How do you interface with an input field?

The value property.

How do you tell it its length?

The size and maxlength properties.

How do you specify numeric editing?

%editc() BIF in RPG.

How do you change its class when it is in error?

element.className = "error";

Where do the error messages display?

Whereever you want.

How do you create a dropdown?

I use an ILE procedure that converts an array into an HTML dropdown.

A checkbox? A combo? A radio button?

All standard HTML elements.

How do you initialize the state of these things based on dynamic data?

Set the value property. When the page is generated, or later through an xmlHTTP response.

How do you specify an AJAX tag?

I don't know what AJAX tags are.

How do you define what gets updated?

Don't know what you mean, but just about any HTML element can be changed.

How do you define the text for a button?

The value property.

How do you specify the tooltip.

The title property.

text for an widget?

The title property, normally.

How do you specify the URL for an image?

.style {
height:580;
width:374;
background-image:url(iphone.PNG);
border: none;
}

How do you specify classes for columns?

element.className="class";

And rows?

element.className="class";

How do you change the class for a table cell based on the data?

This is very basic.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.