更改检查值复选框表单 ( Awesomium VB.net)
Change check value checkbox form ( Awesomium VB.net)
我都试过了,但都不行。谁能帮帮我?
WebControl1.ExecuteJavascript("document.getElementById('#signupForm_confirm_terms').prop('checked'", "true")
WebControl1.ExecuteJavascript("document.getElementById('#signupForm_confirm_terms').attr('checked'", "true")
提前致谢:)
尝试:
WebControl1.ExecuteJavascript("document.getElementById('#signupForm_confirm_terms').checked = true;")
我都试过了,但都不行。谁能帮帮我?
WebControl1.ExecuteJavascript("document.getElementById('#signupForm_confirm_terms').prop('checked'", "true")
WebControl1.ExecuteJavascript("document.getElementById('#signupForm_confirm_terms').attr('checked'", "true")
提前致谢:)
尝试:
WebControl1.ExecuteJavascript("document.getElementById('#signupForm_confirm_terms').checked = true;")