Re: Disable submit button

2006-05-31 Thread A Amarakoon
submit(); > } , > function() { >e.target.disabled = true; > } > ); > } > > > e.g. in your html/jsp page > > > > disableOnClick( 'submitButton' ); > > > > > Some docs on the prototype.js > > http://www.sergio

Re: Disable submit button

2006-05-31 Thread A Amarakoon
Thank you for quick reply.. This does not work for me.. once you click the submit button it disables button. but does not submit action to the server. May be I am missing something?? thanks rukka - Original Message - From: Jorge Mart�n Cuervo <[EMAIL PROTECTED]> Date: Wednesday, May 31,

Re: response.addHeader problem

2006-03-30 Thread A Amarakoon
By the way my struts.config looks like this. http://localhost:8080/HeadSimulator/checker.do"; redirect="true" contextRelative="false" /> - Original Message - From: A Amarakoon <[EMAIL PROTECTED]> Date: Thursday, March 30, 2006 9:14 am S

response.addHeader problem

2006-03-30 Thread A Amarakoon
Struts 1.2.7 on windows. I am trying add cutom http header within action. The I do redirect to a another web app. Problem I have is that web app does not see the headers I added. Am I missing something? my action class: response.addHeader("header1","myFirstHeader"); response.ad