This is probably something easy, but I seem to be getting stuck here. The transitions are not firing off, I suspect because I am using window.location.
I have a button:
<a href="index.html" data-role="button" id="btnSave" data-transition="slide">Calculate</a>
And my Javascript Function:
$(document).ready(function() {
window.scrollTo(0, 1);
$("#btnSave").click(function() {
var result =(3.14285714*(($('#fRadius').val())*($('#fRadius').val())))*($('#fHeight').val());
window.location = "gatherInfo.html?" + result;
});
});

New Topic/Question
Reply


MultiQuote




|