This is kinda weird. I've got a workaround for this problem, but I was wondering if anyone knew why it wasn't working. I have a div element on the page called shippingSelect. When I do:
$('#shippingSelect').load('page.asp')
It does not load the corresponding HTML from page.asp into the shippingSelect element. Alternatively, if I do:
$('#shippingSelect').load('page.asp', function(data){
$('#shippingSelect').html(data);
});
That does work. What's the deal there? Thanks all.
this is exactly what's being loaded...not a whole page:
<a href='#' onclick='getShipping(); return false'>Re-Calculate shipping</a> - <select name='ups_select' id='ups_select' onchange='calculateTotal(this.value);'><option value='13.04|03' selected>UPS Ground ($13.04)</option><option value='56.56|13' >UPS Next Day Air Saver - Gtd. 1 day ($56.56)</option><option value='96.52|14' >UPS Next Day Air. Early A.M. - Gtd. 1 day ($96.52)</option><option value='61.03|01' >UPS Next Day Air. - Gtd. 1 day ($61.03)</option></select>