Ok, I have clearly missed something.  At present my code looks like this... 

<script type="text/javascript" src="/js/DP_RequestPool.js"></script>
<script language="javascript">
myRequestPool = new DP_RequestPool().startInterval(100);
function getMinSale(rowNum) {
        var tempURL =
'http://127.0.0.1/cfc/calculators.cfc?method=minPriceCalc&productgroupid=2&c
ostprice=2';
        var myRequest = new DP_Request("GET", tempURL, null, updateMinSale,
[rowNum]);
        myRequestPool.addRequest(myRequest);
};
function updateMinSale(result, rowNum) {
        document.getElementById("min" + rowNum).value = 'Done';
};
</script>

As you can see I am just setting the cell to 'Done' for now, will worry
about the WDDX later. Unfortunately the cell value is not being set.  If I
copy the line document.getElementById("min" + rowNum).value = 'Done'; to the
bottom of the getMinSale() function then the cell value is set so that
function is clearly being called but the updateMinSale() is apparently not.

If I copy/paste the url from tempURL into my browser window a value is
returned so it isn't a timeout issue.

Any idea what I have left out?

--
Jay

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.17.4/1188 - Release Date: 17/12/2007
14:13
 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:248554
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