Hi!<br><br>I'm trying to do something like this: In a Form a Submit Button should be replaced by the String "Processing" when the user submits the form.<br><br>What I tried was this (in renderContentOn:):<br>
<br>[...]<br> html submitButton<br> id: #submit;<br> onClick: ((html jQuery id: #submit) replaceWith: 'Processing');<br> on: #save of: self]<br>[...]<br><br>This will replace the buttion with the text "Processing", but the form will not be submitted. On the other hand this works<br>
<br>[...]<br> html submitButton<br> id: #submit;<br> onClick: ((html jQuery id: #submit) hide);<br> on: #save of: self]<br>[...]<br><br>I tried various other things but to no avail. What am I missing?<br>
<br>Alex<br>