Maybe the information in this link helps?
http://stackoverflow.com/questions/925334/how-is-the-default-submit-button-on-an-html-form-determined

It basically states that it's undefined and browser-dependend, but
setting tabindex and/or putting the button you want to have activated
first in the form may help.

Best regards,
Wim.

2011/12/2 Graeme Gill <grae...@argyllcms.com>:
> Matthew Sherborne wrote:
>> Ah maybe you have a <form> tag ? Then it'd hit the first <input
>> type="submit" /> maybe that's what you're seeing ?
>
> Hi Matthew,
>        if I look at the html source of the page in my browser, I can't find 
> "submit"
> at all. Clicking on the buttons does the right thing, but enter seems to head
> for one particular button, but I can't figure out how to direct it at
> the button event I want. (With ajax it all works properly, and I have
> fine grained control of where the events end up).
>
> Graeme Gill.
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to