87,910
社区成员
发帖
与我相关
我的任务
分享
1.我想知道$符 是什么意思,还有#,
2.为什么要.click,这是什么意思
3..click里放一个function是什么意思
4.document.getElementById("dialog1").setAttribute,这个setAttribute是什么意思起到了什么作用,
5. 我只是新手,我就是不明白语法,大家给我解释解释就好了,我没有问太深的问题.
6.这好像是什么JQUERY .
7.谢谢大家.
$('#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();}
});