JS variable inside HTML

Category: AJAX Questions    |    2 views
i wonder how can write a JS variable inside HTML

here’s the Line:

var texture=document.getElementById(’texture’).value;
formdiv.innerHTML = formdiv.innerHTML +’<td align=center> JS VARIABLE TEXTURE</td>’;

any help is appreciated

Share/Save/Bookmark

1 Star2 Stars
Loading ... Loading ...

0 responses so far!

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word