Click here to Skip to main content
15,846,091 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
this is my table:
XML
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
                <tr>
                    <td align="right">
                        <a id="imgAddTC" href="javascript:__doPostBack('imgAddTC','')"><img border="0" src="images/icons/add_server.png" alt="Alternate Text" /></a>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div id="divAddTC">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <input name="nothing" type="text" value="my Value" id="nothing" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
</table> 

am able to find the DIV(divAddTC) in the table but not able to find the INPUT TYPE (nothing) inside the table, have tried $(nothing).html() and $(divAddTC).find(nothing) and also $(divAddTC).find('table','tr','td').find(nothing) but all return Undefined, please advice me whats the correct way around.
Posted
Updated 14-May-11 1:15am
v4
Comments
ZeeroC00l 14-May-11 3:53am    
-- unable to pre the code
Mubeen.asim 14-May-11 3:55am    
i can see the code in here
ZeeroC00l 14-May-11 4:01am    
I still cant see it. Can you edit the question your self and add pre tags for the code section ?

1 solution

got the answer from Jquery documentation, had to use find("#element_Name") to search .. still learning JQyery.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900