Skip to content

[object Object] error #13

@Ashar4774

Description

@Ashar4774

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions