How to select the div inside a div
Hello EveryoneI am having doubt that in selecting a div because i am not getting what i am expecting to get. Following is the code
- <div id="dynamic">
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
<thead>
<tr>
<th width="10%">First Name</th>
<th width="10%">Last Name</th>
<th width="10%">Address 1</th>
<th width="10%">Address 3</th>
</tr>
</thead>
</table>
</div>
- Am i doing right if i select the table id as $('#example').dataTable( ..................... ?? or do i need to give a reference of the parent div also. Please correct me !!! Thanks !!!!