I have a textfield in sharepoint list form and I want to set the value using jquery or javascript below is the tag:
<asp:TextBox runat="server" id="ff47{$Pos}" text="{@Name}" __designer:bind="{ddwrt:DataBind('i',concat('ff47',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Name')}" />
I am using this to set var ele = $("input[title='Name']").val("Bob"); but it is not setting the value, any suggestions?