我是 asp.net 的新手。我正在调用 Iframe src throw table row javscripct click 事件。(即 onclick="return loadPhaseWiseChart("DGSET00025");")
我的代码:-
<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;
}
当我点击行时,我的页面正在回复或刷新。我想避免页面刷新或回发行点击事件。我怎么能做到这一点。任何帮助将不胜感激。