I'm using jquery-steps in my shopping checkout page and it works fine but i am unable to use jquery to get elements inside the form to dynamically change the price based on the quantity.I cant anyone help?
i initialize the wizard by the code below but when i use other jquery code to like
$(".remove > div").click(function() {
it will not work
JS
<script>
var form = $(".shopping-cart");
form.children("div").steps({
headerTag: ".header-tags",
bodyTag: "section",
transitionEffect: "fade",
onStepChanging: function (event, currentIndex, newIndex) {
if (currentIndex > newIndex)
{
return true;
}
form.validate().settings.ignore = ":disabled,:hidden";
return form.valid();
},
onFinishing: function (event, currentIndex) {
form.validate().settings.ignore = ":disabled";
return form.valid();
},
onFinished: function (event, currentIndex) {
alert("Submitted!");
}
});