Hello.
I have probabilly most common problem here.
I have an search page and Country select box and City text box on it.
Also, on this search page I have a link wich opens all larger cities in country selected, and by using city prefix letters provided, on smaller window.
Problem: How do I get values from search page onto small select window opened from link with this conditions:
1. User selects country from select list (name="country"
,
2. User enters first or few first letters of city,
2. User cliks on List hyperlink,
3. Search page stays,
4. javascript opens new small window like:
<a href="javascript:StartScr(' /*StartScr is function for invoking smaller window*/
5. I want to use on this smaller window selected country index and city prefix characters,
6. And viceversa, how to pass a selected city Name using ID (from list on this smaller window) to search page (like <a class='linkco' href='select_city.php?cmd=city&ID=$aID'>$aID</a>?
7. Both search page and select_city.php I have all finished, but this problem.
Is this solvable with PHP at all?

Perhaps there's some class for this thing?
Thanks for any suggestions.
I have probabilly most common problem here.
I have an search page and Country select box and City text box on it.
Also, on this search page I have a link wich opens all larger cities in country selected, and by using city prefix letters provided, on smaller window.
Problem: How do I get values from search page onto small select window opened from link with this conditions:
1. User selects country from select list (name="country"

2. User enters first or few first letters of city,
2. User cliks on List hyperlink,
3. Search page stays,
4. javascript opens new small window like:
<a href="javascript:StartScr(' /*StartScr is function for invoking smaller window*/
5. I want to use on this smaller window selected country index and city prefix characters,
6. And viceversa, how to pass a selected city Name using ID (from list on this smaller window) to search page (like <a class='linkco' href='select_city.php?cmd=city&ID=$aID'>$aID</a>?
7. Both search page and select_city.php I have all finished, but this problem.
Is this solvable with PHP at all?

Perhaps there's some class for this thing?
Thanks for any suggestions.