> Thanks for the idea.  I have used similar code in the
> past to lookup city and state automatically when a
> zipcode was entered...I was just hoping that there was 
> an easier/more elegant path to doing this. Xmlhttprequest 
> didn't occur to me at all. Maybe I will go that route.

Welcome. FWIW (which probably ain't much) personally I think an Ajax
request for that is a bit over-complicated. It's got more moving parts
and it won't degrade for browsers that aren't supporting javascript,
which is the reason I mentioned including the submit button and then
hiding it with javascript when the page loads, because that allows the
same textarea to be submitted by users who can't or choose not to use
javascript. Of course, if you're talking about a textarea in a larger
form that posts to a different location with lots of other input
elements then Ajax is definitely the way to go -- unless you want to get
really creative with CSS positioning which has its own set of
hair-pullers. :) 


-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
     ph: 503.236.3691

http://onTap.riaforge.org/blog



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299029
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to