开发者

How do i clear the contents of a "select" using jquery?

New to jquery! How do i clear the contents of a html 开发者_如何学Python"select" using jquery? Please help!


Just remove all options:

$("#mySelect > option").remove();
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜