I am trying to get the correct format of a string
a.innerHTML='<input type="text" name="o_item[]" value="">';
that works fine but i need to add a string in there
I thought it was like this
a.innerHTML='<input type="text" name="o_item[]" value="' + var + '">';
any help would be appreciated.
a.innerHTML='<input type="text" name="o_item[]" value="">';
that works fine but i need to add a string in there
I thought it was like this
a.innerHTML='<input type="text" name="o_item[]" value="' + var + '">';
any help would be appreciated.