oups), I've updated it and it still ok for me in IE7.
On Thu, Jul 9, 2009 at 11:30 AM, Kostyantyn Shakhov<kshakhov@gmail.com> wrote:
> Sorry it was wrong copy-paste. The correct form I was testing is:
>
> <form action=" " method="post" id=" " >
> <input id="b1" name="b1" value="B1" type="submit" />
> <input id="b2" name="b2" value="B2" type="submit" />
> </td>
> </form>
>
> Re your test it's working because it's not a dojo form. You have a
> dojo parser failure (Couldn't load class 'dijit.form.Form').
>
> On Thu, Jul 9, 2009 at 11:26 AM, Remy Damour<remy.damour@gmail.com> wrote:
>> Hi,
>>
>> I've made a quick test file here
>> (http://remydamour.com/formPostTest.php) and it looks like working
>> fine with ie7 and keyboard submition (space | enter).
>>
>> (i've renamed first 'b2' button into 'b1' + closed <form> node).
>>
>> I hope that helps,
>> Regards, Remy
>>
>> On Wed, Jul 8, 2009 at 6:36 PM, Kostyantyn Shakhov<kshakhov@gmail.com> wrote:
>>> I need to submit a Dojo form by pressing Enter or Space on a submit button.
>>>
>>> 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.
>>>
>>
>
没有评论:
发表评论