How to use setAttribute in javascript

Posted by rajesh on Stack Overflow See other posts from Stack Overflow or by rajesh
Published on 2010-04-26T06:28:03Z Indexed on 2010/04/26 6:33 UTC
Read the original article Hit count: 408

Filed under:
|

Is this the correct format?

var title = new_element.setAttribute('jcarouselindex', "'items+1'");
alert(title);

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery