I use the following simple Dojo form with two submit buttons:
<form action=" " method="post" id=" " >
<input id="b2" name="b2" value="B2" type="submit" />
<input id="b2" name="b2" value="B2" type="submit" />
</td>
The browser is IE7.
If I use Dojo 1.2.3 the form submit by keyboard DOESN'T work.
If I update Dojo to either 1.3.0 or 1.3.1 the form submit by keyboard
works perfect but the POST data are incorrect under IE7:
array(1) {
["b1"] => string(292) "<SPAN class="dijitReset dijitInline"
dojoAttachPoint="iconNode" unselectable="on"><SPAN class="dijitReset
dijitToggleButtonIconChar" unselectable="on">✓</SPAN></SPAN><SPAN
class="dijitReset dijitInline dijitButtonText" id=b1_label
dojoAttachPoint="containerNode" unselectable="on">B1</SPAN>"
}
instead of:
array(1) {
["b1"] => string(2) "B1"
}
The POST data is correct under Firefox3.
This Dojo-IE7 issue causing the
Zend_Dojo_Form_Element_Button::isChecked() method failure.
The issue is urgent and I appreciate any advices.
没有评论:
发表评论