On Mar 26, 8:05 pm, SAM <stephanemoriau x.NoAd...@wanad oo.fr.invalid>
wrote:
Omicron a écrit :
>
>
>
>
>
What does an editor has to do here activating JavaScript ?
You must try in a navigator the given codes inserted in a web page.
>
>
Would it be possible to see something working that we could understand
what just-a-song-in-my-bathroom make and how.
>
references ? Google can gives a lot of them.
mine are in french. Are you interested ?
>
--
sm
>
>
>
On Mar 25, 6:10 am, Bart Van der Donck <b...@nijlen.co mwrote:
Omicron wrote:
>Can someone lead me in the right direct with this request:
>Please look at the piece of code below:
><table summary="Sort Buttons">
><tr>
><td>
><input onclick="justSo ng_filter()" type="button" value="Song Search" /
><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_filte r() does its thing, etc., etc.
>All works fine.
>What I'd like, however, is to have NO BUTTON at all.
<input type="text" onKeyPress="
varkey;
if (window.event)
key= window.event.ke yCode;
else if (event)
key= event.which;
if (key== 10 ||key== 13)
alert('You have hitEnter!');
">
>Can someone lead me in the right direct with this request:
>Please look at the piece of code below:
><table summary="Sort Buttons">
><tr>
><td>
><input onclick="justSo ng_filter()" type="button" value="Song Search" /
><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_filte r() does its thing, etc., etc.
>All works fine.
>What I'd like, however, is to have NO BUTTON at all.
<input type="text" onKeyPress="
varkey;
if (window.event)
key= window.event.ke yCode;
else if (event)
key= event.which;
if (key== 10 ||key== 13)
alert('You have hitEnter!');
">
Thanks to Sam and Bart and (I guess) Thomas,
Unfortunately, none of the suggestions, at least in the manner I have
tried to implement them, have worked for me.
When I try all the suggestions, essentially one of two things occurs:
Either nothing happens when I press the ReturnKey, or I get a crash
that buries my TopStyle editor.
Unfortunately, none of the suggestions, at least in the manner I have
tried to implement them, have worked for me.
When I try all the suggestions, essentially one of two things occurs:
Either nothing happens when I press the ReturnKey, or I get a crash
that buries my TopStyle editor.
What does an editor has to do here activating JavaScript ?
You must try in a navigator the given codes inserted in a web page.
>
If any of you kind folks would like to see if you can get further
into my apparently thick skull, I'd appreciate any additional
comments, leads, references or code you'd like to take the time to
write.
into my apparently thick skull, I'd appreciate any additional
comments, leads, references or code you'd like to take the time to
write.
Would it be possible to see something working that we could understand
what just-a-song-in-my-bathroom make and how.
>
references ? Google can gives a lot of them.
mine are in french. Are you interested ?
>
--
sm
I use TopStyle editor for coding all my HTML/CSS. It will then load
the code into IE or whatever browser you tell it to for purposes of
testing. All my other JS works via the editor so I don' think that is
relevant to my problem.
You are most welcome to check out the site I'm building for a friend.
Go to:
gtmick.com
Then, from the drop-down menu on the right, pick any of the Music
Databases. Once there, you will see the Search Feature that is in
place, which requires you to enter a search string and then click on
the button. It is here that I'd like to eliminate the button and just
allow the user to hit the Enter Key when ready.
Thanks for your interest.
Regards.
Leave a comment: