Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[object Object] error #13

Open
Ashar4774 opened this issue Jun 3, 2021 · 0 comments
Open

[object Object] error #13

Ashar4774 opened this issue Jun 3, 2021 · 0 comments

Comments

@Ashar4774
Copy link

Ashar4774 commented Jun 3, 2021

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant