G
gimme_this_gimme_that
Suppose I have:
<div id="d1">
asdfas
</div>
<div id="d2">
asdfasf asdf
</div>
<input name="clickme" value="clickme" onclick="show_d1_in_div_2()"/>
What is code for the javascript function "show_d1_in_d2()" that
displays the contents of d1 in d2 when clickme is clicked?
Thanks.
<div id="d1">
asdfas
</div>
<div id="d2">
asdfasf asdf
</div>
<input name="clickme" value="clickme" onclick="show_d1_in_div_2()"/>
What is code for the javascript function "show_d1_in_d2()" that
displays the contents of d1 in d2 when clickme is clicked?
Thanks.