开发者

How to scroll to selected item in a select box

In my application when I person selects an item at the bottom of the select 开发者_StackOverflow社区box the area is reloaded with another select box. My problem is when the select box is loaded it scrolls to the top instead of scrolling to the selected item

observe here http://www.jaunna.com/question/Add

UserID: top

Pass: t


Set the selectedIndex to the value you want selected with JS and it should automatically be shown as default.

You're link doesn't work.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜