Jquery/Javascript Setting the attribute value of a textfield December 29, 2023 by Tarik The simple easy way is: $("#text").val ("foo");