> for simple requests like this, i've used jsmx in the past
> (http://www.lalabird.com).

Ok, trying to use this one now and the http request is working but how can I
pass an extra parameter to the callback function?

<script type="text/javascript" src="/js/engine.js"></script>
<script language="javascript">
function getMinSale(rowNum) {
        var tempURL =
'/cfc/calculators.cfc?method=minPriceCalc&productgroupid=2&costprice=2';
        http("GET", tempURL, updateMinSale);
};
function updateMinSale(result) {
        // alert(result);
        document.getElementById("min" + rowNum).value = result;
};
</script>

With this code I am passing the "rowNum" value to the getMinSale() function
so that I can update the correct form field when I get the value back but I
can't see any way of passing this value to the updateMinSale() function.

Help? Please?

--
Jay

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.17.4/1189 - Release Date: 18/12/2007
21:40
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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-Community/message.cfm/messageid:248599
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to