title: Javascript updating input field ( put cursor in input )
body: <p>I wanna automate login task, but after I set <code>$(#password").value = "mypassword";</code> I still have to manual click input field to get it updated. Otherwise I get error incorrect password :S I tried <code>$("#password").click()</code> but it doesn't help. What event could cause it to be updated? It's probably not "onkeyup" cause I just have to put cursor in it. So maybe someone know how to put cursor in input field with javascript? Or maybe it's something else?</p>