I want to change the JavaScript function
function changediv(div1, div2) {
div1.obj.innerHTML = div2.obj.innerHTML;
}
by something like this
function changediv(div1,div2) {
$('#div1').html() = $('#div2').html();
}
to take advantage of jQuery. Can you help me with the correct syntax? Thanks in advance.