Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Creating a searchable list
Old 11-19-2009, 09:06 AM Creating a searchable list
Novice Talker

Posts: 6
Name: Niall
Location: Ireland
Trades: 0
I have to create a searchable list on a web page. The list is of 400 locations and there status eg;

Dublin 44
Paris 66
London 77

The the query would be;

dublin = Dublin 44
or
Tokyo = no entry for tokyo

What's the best way to do this?
uber_grizzly is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-19-2009, 09:09 AM Re: Creating a searchable list
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Use a database
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-19-2009, 09:11 AM Re: Creating a searchable list
Novice Talker

Posts: 6
Name: Niall
Location: Ireland
Trades: 0
Thanks, but if this was not an option, would there be any other way of doing it?
uber_grizzly is offline
Reply With Quote
View Public Profile
 
Old 11-19-2009, 09:14 AM Re: Creating a searchable list
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Just create the list on a page and let end users use ctrl+F
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-19-2009, 10:30 AM Re: Creating a searchable list
Novice Talker

Posts: 6
Name: Niall
Location: Ireland
Trades: 0
How would I go about creating a series of drop down menus that open up new options depending on the last input eg;

1st menu
>DUBLIN
>LONDON

if
DUBLIN

2nd menu
>NORTH DUBLIN
>EAST DUBLIN
>SOUTH DUBLIN

if
LONDON

2nd menu
>NORTH LONDON
>EAST LONDON
>SOUTH LONDON
uber_grizzly is offline
Reply With Quote
View Public Profile
 
Old 11-19-2009, 11:30 AM Re: Creating a searchable list
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
With what code? The usual practice would be to use AJAX calls to trigger serverside scripts and read the options from a database.

It can be done with predefined javascripts but ALL the data would have to be written into the page source and with more than 2 or 3 select boxes it would get very unwieldy.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Creating a searchable list
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19249 seconds with 12 queries