Hi All,
how to check if json value exists and return the value in javascript
i have two json result, one Contains CardID only one is contain CardId and Card Count, i want check the card if exists the card and return Card count Count from 2nd Json result.
Attached json Result.
1st json:
[{"CardId":3842},{"CardId":3819,,"CardCnt":5}]
2st json:
[{"CardId":3842,"CardCnt":5},{"CardId":3913,,"CardCnt":15},{"CardId":3865,"CardCnt":8},{"CardId":3819,,"CardCnt":5}]
please post your comments .