INTRODUCTION
In this topic, we will see how to select an item with the
class within a div in jquery. This is very much easy to achieve this task. we
can use the basic id selector and class selector.
Select Item With Class Within A Div:-
In the following example, we will see how to select item with the class within a div. This simple HTML example has two <div> element. The outer <div> element has the id of “MyDiv“ and the inner <div> element has the class name of Select. we will select the inner <div> element and set the background color to light gray.
how to select element inside div in jquery,plz provide us Code.
ReplyDelete