how to get the value in jquery from unknown type element
<p>in my page i want to get the value of a div or textbox.</p>

<p>in two different different condition he can be div and textbox it is sure</p>

<p>how i can get the value of div or textbox when i am sure that it was only div or textbox but not sure that it was div or textbox.</p>

<p>any method can help me to get the value even he was div or textbox. </p>
