Foren
Dynamic Triple Drop Down with mysql
Sujeet Kumar, geändert vor 12 Jahren.
Dynamic Triple Drop Down with mysql
New Member Beiträge: 24 Beitrittsdatum: 02.11.11 Neueste Beiträge
Hi All,
i want to create a triple drop down.
If i select One country in one drop down, then all the states of that country come into the second drop down, and when i select a state from second drop down, then all the District should be populated in the third drop down. But all should be dynamic,means whatever the data is populated in state should populated from mysql similarly for city.
Thanks in advance..
Sujeet
i want to create a triple drop down.
If i select One country in one drop down, then all the states of that country come into the second drop down, and when i select a state from second drop down, then all the District should be populated in the third drop down. But all should be dynamic,means whatever the data is populated in state should populated from mysql similarly for city.
Thanks in advance..
Sujeet
Ravi Kumar Gupta, geändert vor 12 Jahren.
RE: Dynamic Triple Drop Down with mysql
Liferay Legend Beiträge: 1302 Beitrittsdatum: 24.06.09 Neueste Beiträge
I hope you know that you need ajax to make this work..
Sujeet Kumar, geändert vor 12 Jahren.
RE: Dynamic Triple Drop Down with mysql
New Member Beiträge: 24 Beitrittsdatum: 02.11.11 Neueste Beiträge
Hi Ravi,
Firstly thanks for reply.
Yes ajax in the option but as i m very new to liferay.So i m unable to handle ajax in liferay.If u have any reference for handling ajax in liferay please let me know.
Regards
Sujeet
Firstly thanks for reply.
Yes ajax in the option but as i m very new to liferay.So i m unable to handle ajax in liferay.If u have any reference for handling ajax in liferay please let me know.
Regards
Sujeet
Ravi Kumar Gupta, geändert vor 12 Jahren.
RE: Dynamic Triple Drop Down with mysql
Liferay Legend Beiträge: 1302 Beitrittsdatum: 24.06.09 Neueste Beiträge
I have a portlet on sourceforge which you can check out for basic and 2 possible ways for ajax. http://sourceforge.net/projects/ajaxjqueryportl/files/
HTH
HTH
Ranen Das, geändert vor 11 Jahren.
RE: Dynamic Triple Drop Down with mysql
Regular Member Beiträge: 137 Beitrittsdatum: 06.04.11 Neueste Beiträge
The examples are not Ajax base, its pure jquery....though it works
Raja Seth, geändert vor 12 Jahren.
RE: Dynamic Triple Drop Down with mysql
Regular Member Beiträge: 233 Beitrittsdatum: 18.08.11 Neueste Beiträge
Hi Sujeet,
You can make this out much easily with "Direct Web Remoting". Its very easy. You can go to this link and get deeper knowledge about it.
Regards,
Raja
You can make this out much easily with "Direct Web Remoting". Its very easy. You can go to this link and get deeper knowledge about it.
Regards,
Raja
Harish Kumar, geändert vor 11 Jahren.
RE: Dynamic Triple Drop Down with mysql
Expert Beiträge: 483 Beitrittsdatum: 31.07.10 Neueste Beiträge
http://michi-path.blogspot.in/2012/07/three-dynamic-dropdowns-in-liferay.html