IT BS Help

Assign value to textbox in javascript

in Coding

$(function () {
          document.getElementById(<span class="code-string" style="color: purple;">"youridname</span><span class="code-string" style="color: purple;">"</span>).value = <span class="code-string" style="color: purple;">"</span><span class="code-string" style="color: purple;">hai"</span>;
      });

&lt;input class=<span class="code-string" style="color: purple;">"</span><span class="code-string" style="color: purple;">width200"</span> type=<span class="code-string" style="color: purple;">"</span><span class="code-string" style="color: purple;">text"</span> id=<span class="code-string" style="color: purple;">"</span><span class="code-string" style="color: purple;">youridname</span><span class="code-string" style="color: purple;">"</span> /&gt;

0