okay, i have to create a simple search page for an estate eagents, i've created the basic outline of the page and have my input's done, now i need to know, how do i get the info that is input and use it to search thru arrays and find the relevant information.
What i'm gonna do is create maybe one array, or maybe several arrays with the different house information in it (the info for the house's is built into the array, and doesn't need to be input seperatley), i then want to take the search info entered by the user and use it to display all the relevant houses in a new page, possibly displaying one house at a time until there are no more relevant houses to display.
Please find attached the source code for my page and the logo (ignore the picture, i will change it, i just used it for size reference)!!!
If youreally want to do that from the client side, then you need to use window.open() and document.write() to create the HTML of the newpage, including data from the arrays.
Alternately, use window.open() to open an existing document, and then use DOM methods like appendChild() to insert the array data into it.
Normal the system you propose is soved by submitting the search criteria to a server side program and having it generate out the results. But go your own way if you must.
Nigel McFarlane, Author: "Firefox Hacks", "Rapid Application Development with Mozilla"
anyway, thnx for the reply!
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL