How do I write a code so that the text in a textbox is put into the MSIE status bar when I click submit? I’ve been wanting to know this for ages.
<i> </i>function displayStatus(statusMsg) { self.defaultStatus = statusMsg; }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>untitled</title> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" /> </head> <body> <div> <input type="text" /> <i> </i> <input type="button" onclick="window.status = document.getElementsByTagName('input')[0].value;" value="write in status bar" /> <i> </i> </div> <i> </i></body> </html>
Help @dali_dogz112 spread the word by sharing this article on Twitter...