question: protected void imageSubmit ( String imageData ) { StringBuilder dataBuffer = new StringBuilder ( ) ; Element elem = getElement ( ) ; HTMLDocument hdoc = ( HTMLDocument ) elem . getDocument ( ) ; getFormData ( dataBuffer ) ; if ( dataBuffer . length ( ) > 0 ) { dataBuffer . append ( '&' ) ; } dataBuffer . append ( imageData ) ; submitData ( dataBuffer . toString ( ) ) ; return ; }
target:  This method is called to submit a form in response to a click on an image -- an &lt;INPUT&gt; form element of type "image".