halm1985 Posted October 6, 2007 Share Posted October 6, 2007 Using php for designing my site I have 2 dynamic drop down menus .. One for the country The second for newpapers The two are linked in the database using country_id in news papers table I want the NEWSPAPERS menu change automatically to display only newspapers of the selected country in the COUNTRIES menu Does Javascript have the solution for this ? Quote Link to comment Share on other sites More sharing options...
RichardRotterdam Posted October 6, 2007 Share Posted October 6, 2007 that's actually tougher then it seems. you can load all the data in javascript arrays one array for countries the other array for newspapers. try looking for "chained selected javascript" in google you might find something. There is also the ajax way which is not for beginners Quote Link to comment Share on other sites More sharing options...
fenway Posted October 7, 2007 Share Posted October 7, 2007 You just need a hash with newpapers per country.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.