Store Locator and use ENTER in addressfield

T

tinem

I have used a lot of times figuring out how to do this but have given
up so need your help, please.

On this site http://www.tinemuller.dk/toiletter/radius/ I want it to
be possible that when people write an address or a zipcode as for
instance 1051 and select from the dropdown boxes it should be possible
to click ENTER and at the same time still be possible to use the mouse
and click SØG.


I have tried a lot of different things but without getting it to work
as I would like and now a popup box saying "not found".


I have used this tutorial
http://code.google.com/intl/en-EN/apis/maps/articles/phpsqlsearch.html
which sadly not didn't include this functioning with ENTER.



M.v.h.
Tine Müller

http://tine_muller.homepage.dk/
http://www.findbiblioteket.dk/
 
C

Captain Paralytic

I have used a lot of times figuring out how to do this but have given
up so need your help, please.

On this sitehttp://www.tinemuller.dk/toiletter/radius/I want it to
be possible that when people write an address or a zipcode as for
instance 1051 and select from the dropdown boxes it should be possible
to click ENTER and at the same time still be possible to use the mouse
and click SØG.

I have tried a lot of different things but without getting it to work
as I would like and now a popup box saying "not found".

I have used this tutorialhttp://code.google.com/intl/en-EN/apis/maps/articles/phpsqlsearch.html
which sadly not didn't include this functioning with ENTER.

M.v.h.
Tine Müller

http://tine_muller.homepage.dk/http://www.findbiblioteket.dk/

Please do not multi-post. Cross-post if you must but do NOT multi-
post, it just wastes people's time: http://www.blakjak.demon.co.uk/mul_crss..htm
 
G

GArlington

I have used a lot of times figuring out how to do this but have given
up so need your help, please.

On this sitehttp://www.tinemuller.dk/toiletter/radius/I want it to
be possible that when people write an address or a zipcode as for
instance 1051 and select from the dropdown boxes it should be possible
to click ENTER and at the same time still be possible to use the mouse
and click SØG.

I have tried a lot of different things but without getting it to work
as I would like and now a popup box saying "not found".

I have used this tutorialhttp://code.google.com/intl/en-EN/apis/maps/articles/phpsqlsearch.html
which sadly not didn't include this functioning with ENTER.

M.v.h.
Tine Müller

http://tine_muller.homepage.dk/http://www.findbiblioteket.dk/

Redefine your "SØG" button to be input type="submit", call your script
in form's onsubmit event instread of "SØG" onclick and remove onclick
processing from the text field too...
 
T

tinem

:

Redefine your "SØG" button to be input type="submit", call your script
in form's onsubmit event instread of "SØG" onclick and remove onclick
processing from the text field too...

Thanks for trying to help but it's not functioning. I hope I have changed
the code as you suggested but I'm not sure?

I think I will give up and remove the From code so it is at it was in the
start and people have to live without ENTER possibilities.

It looked like this before I start playing with Form code.

<input type="text" id="adresseInput"/>
Radius
i km:
<select id="radiusSelect">
<option value="Radius" selected="selected">- - - Radius - - -</option>
<option value="25">25</option>
<option value="100">100</option>
<option value="200">200</option>
</select>
Category: <select id="categorySelect">
<option value="Category">- - - Category - - -</option>
<option value="_H">Handicap</option>
<option value="_F">Unisex</option>
<option value="_B">Pissoir</option>
<option value="__">Alle</option>
</select>
<input type="button" onclick="searchLocations()" value="SØG"/>

/Tine
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top