Not really even sure what to call what I am trying to do so I will just explain. I have a section at the top of my site that I want to display announcement type messages. Theses messages will only be relevant to members of the site. As such, I would like for when they begin to type in their username and password, the div/message to appear. There is no referencing of a database as it is a hard coded message. Let me know if I need to better explain.
Share
Handle the input’s onkeydown event and have the messages appear in the div you specify for messages. After you call it once, however, you may want to unbind the event so as to not raise it over and over again each time the user presses a key.