$('#jishijiaoyi').click(function()
{
document.getElementById('layer').style.width="500px";
document.getElementById('layer').style.height="280px";
document.getElementById('layer_content').style.width="490px";//10
document.getElementById('layer_content').style.height="240px";//40
var send_type = document.getElementById('sType').value;
if(send_type=="1"||send_type=="2"){
//var id = document.getElementById('link_id').value;
var account =document.getElementById('link_account').value;
var currName = document.getElementById('cName').value;
var bPrice = document.getElementById('bPrice').value;
var sPrice = document.getElementById('sPrice').value;
document.getElementById("layer_handle").innerHTML="即时交易";
document.getElementById("dialog1").setAttribute("src","rt_transaction.jsp?account="+account+"&currName="+currName+"&bPrice="+bPrice+"&sPrice="+sPrice+"&tradeFlag="+send_type);
$("#layer").show();}
});
很简单 ,就是 解释一下 语法 就行 详细一点 可以吗,有的 有点看不懂. 谢谢了.#jishijiaoyi 什么意思.还有 其他的全部都解释一下谢谢了.
这个function() 是干什么的 解释的详细一点啊.