Which of the following is the correct way to do the following JavaScript Code with jQuery?
var d = document;
var odv = d.createElement ("div") ;
this. OuterDiv = odv;
var t = d.createElement ("table") ;
t.cellspacing = 0;
t.className = "text";
odv.appendChild(t) ;
Correct Answer: var t = $ ( "<table cellspacing = '0' class= 'text'></table>" ) ; $.append (t);
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More JQuery MCQ Questions