开发者

form default button not working in Firefox

开发者 https://www.devze.com 2023-01-05 03:29 出处:网络
Hi I\'ve created a simple form with a link button. In my page load I set default button to that linkbutton as

Hi I've created a simple form with a link button. In my page load I set default button to that linkbutton as

this.Form.DefaultButton = this.btnSearch.UniqueID;

it is working开发者_JAVA技巧 fine in IE but not in Firefox.

Anyone has solution?


Take a Panel control within form and put all controls which are on form within panel. It should work.

UPDATE
Use JQuery And add this Plugin

0

精彩评论

暂无评论...
验证码 换一张
取 消