当我单击左侧div的链接时,我想在右侧div中显示该信息

问题描述:

当我单击左侧div的链接时,我想在右侧div中显示该信息.我该怎么做.PLz发送一些示例........

Whne i click a link left div,i want show that information in right div.How can i do that one.PLz send some sample........

首先,使用< asp:Table>动态填充第一个Div中的数据然后使用Javascript,您可以在新的&div; asp:Table>
First,Fill data in 1st Div Dynamically by using <asp:Table> and then by using Javascript you can fill 2nd Div with new <asp:Table>


第一次点击链接时调用javascript函数.在js函数中,将第二个div的innerHTML属性设置为必须显示的值.

document.getElementById(div2).innerHTML = value;
First call javascript function on click of link. in js function set innerHTML property of second div to value which you have to show.

document.getElementById(div2).innerHTML = value;