Pete's Dev Life
Home
Patterns
Testing
Continuous Integration
.NET
ASP.NET
ASP.NET MVC
December 13, 2009
使用jQuery判斷RadioButton是否被選取
透過attr函式來判斷是否被選取
$("#<%= RadioButton.ClientID %>").attr("checked")
透過is函式來判斷是否被選取
$("#<%= RadioButton.ClientID %>").is(":checked")
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment