Consultor Eletrônico



Kbase P81259: Using an image as a SUBMIT button does not return the button value in Internet Explorer
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

WebSpeed 3.x

SYMPTOM(s):

Using Microsoft Internet Explorer browser.

Using an image as a SUBMIT button does not return the button value.

SUBMIT button defined as:
<input type="image" name="button" value="submit" src="login.gif">

The following line of SpeedScript returns nothing:
get-value("button").

Using Netscape or Mozilla browser returns the value of the button.

CAUSE:

Internet Explorer is conforming to the HTML specification, which does not require the IMAGE input type to submit the "value" attribute.

FIX:

Use a hidden field to find out if the page has been submitted.