I want to alert an object
value in AngularJs, how does one do that?
If I simply alert the object by alert(obj)
then it shows the result as object object
in alert box.
One way is
alert(JSON.stringify(obj));
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With