6 Replies Latest reply: Sep 18, 2007 11:00 AM by Abdulla Abdurakhmanov RSS

IE6 + onclick + oncomplete in RC6 - bug ?

Abdulla Abdurakhmanov Newbie

I see a new problem when migrated to RC6:

<a4j:commandButton
 id="testButton
 reRender="myPanel"
 onclick="this.disabled=true;var runButton = this;"
 oncomplete="alert(runButton);"
/>


When a click is completed I see in IE the javascript error - unexists definition "runButton".
For RC3 this code is running succesfully.
Why?