MCQs > IT & Programming > JQuery > Which is the correct way to get HTML encoded value for any tag which function can be used?

JQuery MCQs

Which of the following is the correct way to get HTML encoded value for any tag which function can be used?

Answer

Correct Answer: function htmlEncode(value){ return $('<div/>').html(); }

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JQuery Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JQuery Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it