How to Display a Javascript Variable in a Textbox : Web Programming

How to Display a Javascript Variable in a Textbox : Web Programming



Subscribe Now:
http://www.youtube.com/subscription_center?add_user=Ehowtech

Watch More:
http://www.youtube.com/Ehowtech

Displaying a Javascript variable in a text box will require the careful use of the right code. Display a Javascript variable in a text box with help from a self-taught web developer in this free video clip.

Expert: Christina Chiu
Filmmaker: Victor Varnado

Series Description: Just like humans use different languages to communicate with one another, so do computers when communicating back and forth via Web pages and other documents over the Internet. Get tips on web programming and learn a few new tricks you can use to make your life easier with help from a self-taught web developer in this free video series.

source

11 comments

  1. For anybody that finds their code to not work, here is the correction:

    let x = "text";
    document.getElementById('<insert html id here don't include the angle brackets>').innerHTML = x;

Comments are closed.