MCQs>IT & Programming>Prototype Programming>Which of the given options is the result of the following code snippet? new Builder.node('div', {className: 'error'}, 'Error');
Prototype Programming MCQs
Which of the given options is the result of the following code snippet? new Builder.node("div", {className: "error"}, "Error");
Answer
Correct Answer: Create a div tag that has "error" as class name and contains "Error" text.
Explanation:
Note: This Question is unanswered, help us to find answer for this one