SyntaxFix
Write A Post
Hire A Developer
Questions
GetValue = function(id) { var tag = this.tagName; var type = this.attr("type"); if (tag == "input" && (type == "checkbox" || type == "radio")) return this.is(":checked"); return this.val(); };