我是新来的asp.net。我调用Iframe src throw table row javscripct单击事件。 (即的onclick = “返回loadPhaseWiseChart(” DGSET00025 “);”)IFrame:页面回传或刷新iframe src
我的代码: -
<tr height="25" id="row3" onclick="return loadPhaseWiseChart("DGSET00025");" bgColor="#e1f2fe">
<td>
<tr>
jQuery代码: -
function loadPhaseWiseChart(Asset_Discription) {
document.getElementById('IframeChart1').src = "PhaseOneChart.aspx?assetdiscription=" + Asset_Discription;
}
当我点击一行,我的页面获取回帖或刷新。我想避免页面刷新或回发行单击事件。 我如何做到这一点。任何帮助将不胜感激。