I'm doing a project with another guy.  He knows ajax and json and is
clueless about Cold Fusion.  I claim to know CF and probably don't
even know what ajax and json stand for.  We, needless to say, are
having problems communicating.

So here's the problem.  I hit the database and give him some data that
plots a couple properties on a google map.  When any of those mapped
properties are clicked, his code (json?) uses this (example) bit of
database info to display info about the property on the same page
without a refresh:

houseDetails = {address : "1970 ST CHESTER AURORA, 80010",       price :
"45000",listingNum : "833553", office : "303-487-0777" };

Clicking another property on the map grabs the above info on the
clicked property and again - without refresh - displays it, replacing
the old info.

The returned info (price, for example) displays great with ID numbers
in a table as such: <td id="price"></td> or  like this <p
id="price"></p>...  but how the heck do I use it in a URL and (most
importantly) pass other variables with it, for example: <a
href="?from=doit&price=PRICEVARIABLEHERE"> and have that link info
change without refresh right along with the rest of the page?

We both thank you in advance and owe you a beer. Or two.
Les

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332395
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to