mikenye
04-15-2009, 07:57 PM
Hi all,
Im new to the forum so please forgive me if a do somthing wrong :)
Ok im fairly new to Javascript and Ajax but im in the middle of building a CD based application running through html etc. I have a large xml file that is used to populate different fields in a form....
such as a Country area.....when users select a Country it hides and shows different towns.......then when a town is selected different areas show as PDF links.
Ive now been asked to add search functionality to the whole thing...so I need to build a search form that will search for either a 4 letter identifier <icao>egff</icao> or the area name either in whole or part of such as <area>heathrow</area> then display the relevant pdfs associated within that tag?
Is it possible to search the XML like that? is it possible to search part names etc and get the full tag?
I have this as a live website using PHP and SQL.....so it had a lot more functionality the CD is a lite version for those with no internet access.
Any help or suggestions extremely welcome!
cheers
Mike
Im new to the forum so please forgive me if a do somthing wrong :)
Ok im fairly new to Javascript and Ajax but im in the middle of building a CD based application running through html etc. I have a large xml file that is used to populate different fields in a form....
such as a Country area.....when users select a Country it hides and shows different towns.......then when a town is selected different areas show as PDF links.
Ive now been asked to add search functionality to the whole thing...so I need to build a search form that will search for either a 4 letter identifier <icao>egff</icao> or the area name either in whole or part of such as <area>heathrow</area> then display the relevant pdfs associated within that tag?
Is it possible to search the XML like that? is it possible to search part names etc and get the full tag?
I have this as a live website using PHP and SQL.....so it had a lot more functionality the CD is a lite version for those with no internet access.
Any help or suggestions extremely welcome!
cheers
Mike