javascript

报表传值::

有参数——-<iframe id=””style=”” frameborder=”0” scrolling=”no” src=”http://10.XX.XXX.XX:8082/art/runReport?public=true&reportId=99&p-year=2015">

下拉框——–
function changeMC(value){
var arry=[‘one’,’two’];
if(value==array[0]){
document.getElementById(‘maji’).src=”http://10.XX.XXX.XX:8082/art/runReport?public=true&reportId=99&p-year=2015"
}
else if (value==array[1]){
document.getElementById(‘maji’).src=”http://10.XX.XXX.XX:8082/art/runReport?public=true&reportId=99&p-year=2016"
}

}

<select id='tt' onchange="changeTzSrc(this.option[this.options.selectedIndex].value)">
<option value=' ' >--请选择--</option>
<option value='one' >1</option>
<option value='two' >2</option>
</select>
<iframe id="maji"style="" frameborder="0" scrolling="no" src="http://10.XX.XXX.XX:8082/art/runReport?public=true&reportId=99&p-year=2015"></iframe>

jsp 传值:

$(fuction(){
$(‘#one’).arrt (“planLength”,”$[start.lenth_sum]”);

});

文章目录
,