Posted By

perelin on 07/17/06


Tagged


Versions (?)

changeInnerHtml


 / Published in: JavaScript
 

// Changes the innerHTML of the first arg (object ID) into the secong arg (string)

  1. function changeInnerHtml()
  2. {
  3. var args=changeInnerHtml.arguments;
  4. if ((obj=MM_findObj(args[0])) != null)
  5. {
  6. obj.innerHTML = args[1];
  7. }
  8. }

Report this snippet  

You need to login to post a comment.