I'm trying to create a div to hold several status messages and/or icons, I'm using dhtmlx, however it should be applicable to general javascript/html/css. StatusBar is the bottom line on the browser.
moUI.statusMain = moUI.layoutMain.attachStatusBar(); // Status bar initialization\setup
moUI.statusMain.id = "statusMain";
moUI.statusMain.setText("<div id=\"toolbarObj\"></div><div style=\"\"><textarea rows=\"1\" cols=\"20\" id=\"status_txt\" type=\"text\" value=\"Initializing.\"><textarea rows=\"1\" cols=\"20\" id=\"operation_txt\" type=\"text\" value=\"COPY\"></div>");
I can then modify the text like this
document.getElementById("status_txt").value = "Done.";
Problem with textarea is that the second area never shows up, they have a scrollbar and if user clicks in the box the browser crashes. if I use input, I get both texts, however I am not really looking for any input, and pure text does not allow me to pinpoint the text I want to modify. Also how do I insert an icon?