Announcement

Collapse
No announcement yet.

Chat Room/Cursor Question?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Chat Room/Cursor Question?

    Hi, I wrote a chat room in PHP using sessions. Is there a way I can keep the cursor in the, "add comment" box the entire time? Basically where people can type something and just touch enter instead of always having to use their mouse to always place the cursor back in the comment box?

    Here is my chat room, http://www.baylorfans.com/chat

    Thanks!
    http://www.BaylorFans.com

  • #2
    <body OnLoad="document.FORMNAME.INPUTNAME.focus();" >

    everytime the page ios loaded it goes rigth to it.

    Comment


    • #3
      Thanks!
      it works!
      http://www.BaylorFans.com

      Comment


      • #4
        cool, your welcome

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X