Click here to Skip to main content
15,884,629 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more: , +
hello everyone,
i need to make a dropdown like the one in naukri. i need to make a dropdown like the one in naukri.
PLEASE REFER THIS LINK:--
http://my.naukri.com/manager/createacc2.php?othersrcp=5424&wExp=N

now in this page go to the Contact Details. CurrentLocation
you will see a dropdownlist of India's States with their cities coming in three columns.

so i need to make a same dropdown list binded from database . can any one please help me out with this one.

Thanx in Advance.
Ishan
Posted
Comments
AnkitGoel.com 6-Dec-12 6:10am    
can you paste a screenshot of naukri.com? As, due to firewall restrictions i am unable to see it in my office.

Multi Column ComboBox[^]
Multiple Column Dropdownlist for the ASP.NET DataGrid[^]
go through this and post if solution is not found.this are not concrete soln,but you can get idea and code it your way.
Regards.
 
Share this answer
 
v3
This is the element

<input id="inpcityContainerDD" autocomplete="off" class="transp_input nauk_dd_blk error" value="Select" name="inpcityContainerDD" readonly="readonly" type="text">

This is the class
.transp_input{border:none; background:transparent; width:94%; color:#999;outline-style: none; outline-width: 0px; margin:2px 0 0 2px; padding:0 1px 0 0}

I thought it was pure javascript, but I was not able to find the script for it.

I think its original, off the top of the head. The page is very advanced, and I can see that a keen intellectual programmer spent perhaps weeks on it.

I have no answer or solution to offer, but if I had to write it, I'd use jquery, a hidden panel, hover event over the ddl, to trigger the hidden panel, and pre-populate the hidden panel with data. Hover events that change the inner html in the ddl.

Doesn't matter if it's PHP or asp.net, I think it's javascript. It's really nice and original. It;s not a copy and paste code snippet, the programmer obfuscalated his code. Maybe it is a paid download now that I think about it.

Send a message to the site and ask them
 
Share this answer
 
Comments
[no name] 8-Dec-12 1:28am    
Well said...
thanx for the trial....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900