View Full Version : Dependent select boxes and Googlebot

06-19-2010, 06:00 PM
Hey friends, I would like to make two dependent select boxes on my page and I need tip how to do it readable for googlebot (or else). I have prepared content for these boxes in XML and this dependence is done with JavaScript and XMLHttpRequest. For first box I have content like this:

<country countryId="1">Germany</country>
<country countryId="2">Italy</country>

and for the second one (for example if you choose Germany in first select box) you get:

<city cityId="10">Dresden</city>
<city cityId="11">Berlin</city>

My question is how to make it readable for robots? In short - if I write to Google search box "site:mysite.com dresden" a want to get result with word "Dresden". Is there any possibility how to do it?

Thank you for your help!