オブジェクトの中身をすべて表示する方法


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var content = '';
  2. for (var p in obj){
  3. content += p + "=" + obj[p] + "\n";
  4. }
  5. alert(content);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.