getshippingrates
<br />
<script type="text/javascript">// <![CDATA[
function getParameterByName(name) {
name = name.replace(/[\[]/, "\[").replace(/[\]]/, "\]");
var regex = new RegExp("[\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
var newUrl = getParameterByName("newUrl");
var redirectUrl = getParameterByName("redirectUrl");
$.getJSON( newUrl, function( data ) {
window.location = redirectUrl+"?"+decodeURIComponent($.param(data));
});
// ]]></script>
<script type="text/javascript">// <![CDATA[
function getParameterByName(name) {
name = name.replace(/[\[]/, "\[").replace(/[\]]/, "\]");
var regex = new RegExp("[\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
var newUrl = getParameterByName("newUrl");
var redirectUrl = getParameterByName("redirectUrl");
$.getJSON( newUrl, function( data ) {
window.location = redirectUrl+"?"+decodeURIComponent($.param(data));
});
// ]]></script>