1

I have an object captured by infoTab.elements[1].

Here is the object Object { type="html", html="or<hr>"}.

How can I change object.html in the DOM?

1
  • 1
    infoTab.elements[1].html = "something" Commented Oct 18, 2015 at 10:38

1 Answer 1

1
infoTab.elements[1]; // Object { type="html",  html="or<hr>"} 

console.log(infoTab.elements[1].html); // or<hr>

infoTab.elements[1].html = "2<hr>";

console.log(infoTab.elements[1].html); // 2<hr>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.