javascript getElementById and convert it to String

Posted by Lina on Stack Overflow See other posts from Stack Overflow or by Lina
Published on 2010-03-18T13:27:19Z Indexed on 2010/03/18 13:31 UTC
Read the original article Hit count: 260

Filed under:

Hi, is there a way to convert a javascript HTML object to a string? i.e.

var someElement = document.getElementById("id");
var someElementToString = someElement.toString();

thanks a lot in advance

© Stack Overflow or respective owner

Related posts about JavaScript