Hi, I'm new to jQuery.

I have an input textBox with an id="IdName".

By instinct I tried to change its value with:

     $("IdName").value="New value" but it doesn't work.

I did it with : document.getElementById("IdName").value = "New value"

How can I make it with JQuery? Isn't there any shorthand for
document.getElementById that lets me obtain the same reference?

Thanks.

Reply via email to