原文:How Set focus to CharField of a django form element
Am using Django s form for my login page. I want to set focus to the first textField (username) when the page loads. I tried using Jquery as follows, But doen t get the result. forms.py: from django ...