LesHurley Posted December 1, 2009 Share Posted December 1, 2009 In JavaScript, how can one clear the screen in response to an input box in preparation for something new? thanks. Link to comment Share on other sites More sharing options...
Ingolme Posted December 1, 2009 Share Posted December 1, 2009 You need to know what your "screen" is. You would just set an empty string as the innerHTML of the element. Be sure not to delete the user controls unless that's part of the process. document.getElementById("myscreenobject").innerHTML = ''; Link to comment Share on other sites More sharing options...
jeffman Posted December 1, 2009 Share Posted December 1, 2009 Enter "cls" at the DOS prompt.Oops. Wrong decade . . . Link to comment Share on other sites More sharing options...
thescientist Posted December 1, 2009 Share Posted December 1, 2009 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.