posted 16 years ago
I have a problem displaying image on the button tag
[input type="button" value=" [img src='images/arrow.jsp' ] " on click="function1()" / ]
Its not picking up the image value instead it displays whole tag...instead of processing image tag...
any correct way of defining this so that the img tag is processed....
or any other way of displaying an img on the button..
i know that [input type="image" src="path" ]tag is present but it is by default submit button..so after doing the on click funtion it is submitting the form which i dont want to...
Please suggest any other way...