0
My problem is this:
I have an html page, and on this page, there are 2 Divs. in the second div, I have a javascript that stores a value in a certain variable.
What I want is to display the value of this variable in the first div.
You know how I can do that?
You can put in the code you have so we can understand the problem better?
– Sergio
"div, I have a javascript that stores a value in a certain variable." - This is very badly explained.
div
cannot contain javascript.– Thiago Lunardi
It’s poorly explained but from what I understand it’s like taking the contents of the second div to first div, if it is, it’s this next code
$("#div1").html($("#div2").html())
, warning that it is Jquery– Adriano Resende