由于使用了插件,我无法像往常一样将"onClick"属性添加到HTML表单输入中.
基本上我有这样的输入:
<input type="text" id="bfCaptchaEntry" name="bfCaptchaEntry" style="">
我想用jQuery onload向其添加onclick,使其如下所示:
<input onClick="myfunction()" type="text" id="bfCaptchaEntry" name="bfCaptchaEntry" style="">
我该怎么做呢?
我知道这可能不是标准做法,但在我的情况下似乎是最容易的 Select .
我是jQuery的新手,非常感谢您的帮助.