I have the following code and it doesn't seem to work at all. No border is drawn. I there anything wrong? (I have jQuery included correctly because other parts, which use it, work)
<script>
$(document).ready(function() {
$('#login').css({"border":"3px solid black"});
});
function setBorder() {
$('#login').css({"border":"1px solid black"});
}
</script>
<div id="#login">
<form>
Username: <input type="text" /><input type="button" value="Log in" onclick="setBorder();"/>
</form>
</div>
<label>tag.<div id="#login">-><div id="login">as suggested by Quentin.