samuvk
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by samuvk
-
-
And how do I do that? Never done it before and have not clue how to proceed
Thanks!!!!!!!!!
-
I have values stored in a variable in Javascript in this way:var VariableCity = "Birmingham"var VariableCapital = "Montgomery"Now I would like to write the value stored in the variable in a determinated place in the HTML document as below.How can I accomplish that?I tried: document.write(VariableCity) but:1. I got this error: "Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened."2. That way I'm not indicating where to write itTHANK YOU SO MUCH!!!!!
<body> <div style="width:100%;border:0px solid #ededed;"> <div style="float:left;width:5%;"> <select id="SystemSelector" onChange="sendAndDraw(this.value)"> <option value="Al">Alabama</option> <option value="Tx">Texas</option> </select> </div> <div style="float:left;width:95%;"> <button onclick="loadEditor(SystemSelector.value)">Change type of Graph</button> City: VariableCity <div id="Piechart_div" style="width: 100%;"></div> </div> </div> <div style="width:100%;border:0px solid #ededed;"> <div id="chartGauge_div" align='center' style="width:100%"></div> Capital: VariableCapital </div> </body>
Profile when Mouse Over
in JavaScript
Posted
Hi,
How can I do something like display a profile while mouseover an item? Either in HTML or JavaScript.
I have the following:
<a href="#" onmouseover="showDetails()" onmouseout="hideDetails()">John</a>
How could I building the profile itself? Developing the showDetail() function do display:
Thank you very much
See images attached