O
Omicron
Hello,
Can someone lead me in the right direct with this request:
Please look at the piece of code below:
<table summary="Sort Buttons">
<tr>
<input type="text" id="newSong" />
</td>
</tr></table>
As you can see, an input box is opened and when the user enters his
search phrase AND CLICKS THE BUTTON, the javascript contained in
justSong_filter() does its thing, etc., etc.
All works fine.
What I'd like, however, is to have NO BUTTON at all. None. What I want
to happen is that the user enters his search phrase and then have him
HIT THE ENTER KEY on the keyboard to initiate the javascript, as
occurs in the original code above.
Currently, after the user enters his search phrase, hitting the Enter
Key does nothing at all. He must click on the Button.
Can someone show me how to re-code the above activity to perform as it
currently does, but to have no button and using the Enter Key as the
final firing sequence?
I thought it would be pretty straight forward - seems I am wrong!
I've messed with this for about 3 days and I've gotten nowhere, so I
must be looking/thinking in the wrong place.
Any help, as always, would be greatly appreciated.
Regards.
Can someone lead me in the right direct with this request:
Please look at the piece of code below:
<table summary="Sort Buttons">
<tr>
<input type="text" id="newSong" />
</td>
</tr></table>
As you can see, an input box is opened and when the user enters his
search phrase AND CLICKS THE BUTTON, the javascript contained in
justSong_filter() does its thing, etc., etc.
All works fine.
What I'd like, however, is to have NO BUTTON at all. None. What I want
to happen is that the user enters his search phrase and then have him
HIT THE ENTER KEY on the keyboard to initiate the javascript, as
occurs in the original code above.
Currently, after the user enters his search phrase, hitting the Enter
Key does nothing at all. He must click on the Button.
Can someone show me how to re-code the above activity to perform as it
currently does, but to have no button and using the Enter Key as the
final firing sequence?
I thought it would be pretty straight forward - seems I am wrong!
I've messed with this for about 3 days and I've gotten nowhere, so I
must be looking/thinking in the wrong place.
Any help, as always, would be greatly appreciated.
Regards.