Please look at the test.html that uses the XMLHttpRequest object. (To see the source code, on the test.html frame do: right click -> This Frame -> View Frame Source.)
To avoid crossdomain restrictions on Firefox, visit the address about:config and change the property:
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");before it sends any AJAX request. Look at the test.html. You may get a pop-up window from Firefox asking you if you want to allow this operation: select "Allow". Note that this is not a good solution to the crossdomain restriction; if you had your own web server, you should have used a proxy, as described in class, but you should not do that for this project.
For this project, you will use the
Your HTML web page must have 3 sections:
How to URL-encode the address to send it to zillow: use the method encodeURI(address).
How to extract the Zestimate value from the zillow XML response: use the method getElementsByTagName('amount').
Use the form below to submit your HTML file. You may submit your file as many times as you like, but only the most recently submitted file will be retained and evaluated.
Last modified: 01/27/10 by Leonidas Fegaras