Đang Thực Hiện

AJAX conditional drop-down list

Very simple.

I have...

1. A table of a mysql database with 4 fields.

2. The table contains many entries, some of which are repeated.

I need...

1. 4 filters in the form of 4 drop-down lists. Drop-down list 1 populated by [unique values] of field 1, dd list 2 with field 2 etc.

2. Selected option in 1st drop-down, constrains the items in 2nd drop-down to be filtered such that field 1 = selected option 1. 3rd drop-down conditional on 2nd and 4th on 3rd. 4 consecutive filters!

This must be done with AJAX as I do not want page to refresh between each filter choice. 2nd filter must only be available if a specific value in 1st filter is NOT chosen ['The world' in ex below].

EX TABLE

1 The World N/A CAR RED

2 England BRISTOL VAN RED

3 England LONDON CAR GREEN

4 Italy MILAN BIKE BLUE

5 France PARIS BIKE GREEN

6 France CANNES CAR YELLOW

7 Spain MADRID BOAT YELLOW

values

selected: 1st dd= England, 2nd dd=London, 3rd dd=Car, 4th dd=Green

should return row 2 only.

final result =

$query="SELECT * FROM table WHERE country = '$dd1' AND city = '$dd2' AND vehicle = '$dd3' AND colour = '$dd3'

That's the idea anyway. I know scripts exist to do this with iframes, which I do not want. For someone who understands AJAX this should be pretty quick! Thanks!

Kỹ năng: Java, PHP, XML

Xem thêm: ajax filter drop, ajax filter dropdown, ajax conditional drop, conditional drop, ajax conditional form, ajax filter drop list, ajax conditional, ajax conditional forms, ajax dropdownlist, ajax filtered drop list, java ajax refresh drop, conditional list php ajax, filtering drop downs java, ajax dropdowns filter, conditional dropdowns html, html conditional drop, conditional drop menu, java conditional drop, refresh dropdown ajax, ajax dropdown list java, ajax refresh drop box, ajax refresh drop, dropdownlist ajax html, drop list ajax, ajax drop filter

Về Bên Thuê:
( 7 nhận xét ) New York, United States

Mã Dự Án: #43537

6 freelancer đang chào giá trung bình $38 cho công việc này

XaprioSolutions

Great Description, wud like to work for you... Regards Rohit Arora ... http://www.xaprio.com/xaprio-solutions-portfolio.html

$50 USD trong 2 ngày
(59 Đánh Giá)
6.4
VladKuznetsov

Hello Sir. I can do it for you. Regards Vladimir Kuznetsov.

$60 USD trong 3 ngày
(53 Đánh Giá)
5.0
TwoServices

Dear Sir, We have worked AJAX in a lot projects. If you want a sample, we can send you a sample. We hope to do with you. Thanks & Regards.

$30 USD trong 1 ngày
(2 Đánh Giá)
2.4
BroadAndElmwood

AJAX is my specialty.

$30 USD trong 1 ngày
(2 Đánh Giá)
1.6
omegatechindia

Hi.. We are implementing AJAX in all our applications. Our team has great knowledge of AJAX. If you need a sample we can send it to you for referece.

$30 USD trong 1 ngày
(0 Đánh Giá)
0.0
mdshahnawazali

it is easy to do and i have the idea to do so, please provide a chance to do REGARDS shahnawaz

$30 USD trong 1 ngày
(0 Đánh Giá)
0.0