this is how it works: $('#test1').val("hello world");
On 27 mei, 21:33, Natrium <[EMAIL PROTECTED]> wrote: > I have a hidden inputtype: > > <input type="hidden" name="test1" id="test1" value="" /> > > How can I change the value of it by using JQuery? > > This is what I am doing. > $('#test1').value = "hello world"; > > What am I doing wrong?