JQuery equalent for document.getElementById() method

JQuery equalent for document.getElementById() method

Hi ,

I am new to jquery world. I am getting some problem while using jquery.

on my JSP, I have one input field i.e. <input id="actual0@1#3" value="0"/>

I need to get the value of this field using jquery.

i am using following statement to get the value : $('input#actual0@1#3').val() however, it is returning me undefined.

Could anyone help me to get out of this. I am not getting what wrong i am actually doing. Is it how it should be red or there some other way?

Thanks in advance.

Regards,
Azhar