1.

Which of the following is not a jQuery dimension method?(a) innerWidth()(b) outerHeight()(c) height()(d) css()I have been asked this question in an international level competition.The doubt is from Essential JavaScript and jQuery topic in section HTML Tables, Javascript & Jquery Basics of HTML

Answer»

Right ANSWER is (d) css()

To EXPLAIN I would SAY: There are various important methods for dimension. Some of them are height(), innerHeight(), outerWidth(), outerHeight(), WIDTH(), innerWidth(). Width() method includes border, margin and padding. innerWidth() and innerHeight() method includes padding. outerHeight() and outerWidth() method includes border and padding. CSS() method is used for CSS manipulation in jQuery.



Discussion

No Comment Found

Related InterviewSolutions