You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This session jquery is working fine for me. But the problem i faced when i try to get the paying amount, i get output as "[object Object] instead of amount, i.e "100, 70" etc.
here is my code for paying amount session:
<script>
var amount_to_pay = $('#amount_to_pay').html(final_price);
$.session.set('amount_to_pay', str_amount_to_pay);
var session_amount_to_pay = $.session.get('amount_to_pay');
console.log(session_amount_to_pay+" is the amount for "+id);
</script>
The text was updated successfully, but these errors were encountered:
This session jquery is working fine for me. But the problem i faced when i try to get the paying amount, i get output as "[object Object] instead of amount, i.e "100, 70" etc.
<script> var amount_to_pay = $('#amount_to_pay').html(final_price); $.session.set('amount_to_pay', str_amount_to_pay); var session_amount_to_pay = $.session.get('amount_to_pay'); console.log(session_amount_to_pay+" is the amount for "+id); </script>here is my code for paying amount session:
The text was updated successfully, but these errors were encountered: