|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
javascript form problem
go to http://www.clanhonor.com/chat and register and login to look, it only taes a second.
my problem is, when you press enter to send a message, it doesn't use the selected text color and it doesn't clear the box after submitting. the say has an onclick() handler attached, and the form has an onsubmit() handler. i can't find any useful handler to use for the text field, and i cant get it to trigger the onsubmit handler. halp |
|
#2
|
|||
|
|||
|
the onsubmit handler only works in the <form> tag. make sure your putting it in there,
' when the page refreshes you might want to make it drop down to the bottom of the page |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > javascript form problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|