jquery object alert


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



Copy this code and paste it in your HTML
  1. function concatObject(obj) {
  2. str='';
  3. for(prop in obj)
  4. {
  5. str+=prop + " value :"+ obj[prop]+"\n";
  6. }
  7. return(str);
  8. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.