Posted On: Feb 22, 2018
In jQuery, there is two way to change the width of an element. One way is using .css(‘width’) and other way is using .width().
For example
$('#mydiv').css('width','300px'); $('#mydiv').width(100);
Never Miss an Articles from us.
jQuery is a lightweight JavaScript library which gives a quick and simple method for HTML DOM traversing and manipulati..
There are many advantages of JQuery. Some of them are :It is more like a JavaScript enhancement so there is no overhea..
There are 3 types of selectors in JqueryCSS Selector XPath Selector Custom Selector..