This shows you the differences between two versions of the page.
dealer_locator [2009/05/15 22:35] jay |
dealer_locator [2009/05/22 15:13] (current) jay |
||
---|---|---|---|
Line 13: | Line 13: | ||
==== AJAX javascript include ==== | ==== AJAX javascript include ==== | ||
- | In this approach, a javascript snippet is inserted into your web page, and when the dealer locator search form is submitted an AJAX call is made from the user's browser to our server. Our server sends back an html table containing the search results, and javascript on your page inserts the table into a <div>. This method is slightly trickier to implement than the iframe approach, but the advantage is that you can use your own CSS styles to control the look of the search results table. [[DL-ajax-example| sample code here]] | + | In this approach, a javascript event handler is added to your form, and when the dealer locator search form is submitted an AJAX call is made from the user's browser to our server. Our server sends back an html table containing the search results, and javascript on your page inserts the table into a <div>. This method is slightly trickier to implement than the iframe approach, but the advantage is that you can use your own CSS styles to control the look of the search results table. [[DL-ajax-example| sample code here]] |
==== Web Services XML API ==== | ==== Web Services XML API ==== |