I know it\'s a silly question but I am a bit confused with this. For example, if I have an input with an ID: rad1, is there any difference between below lines o
rad1
A composition also works fine:
You can also do something like this to show a : function getCompTable(divId){ var $d = $('#' + divId); $d.show(); } USAGE getCompTable('compListDiv'); // compListDiv - is a div id="" Yosi Lev 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
: function getCompTable(divId){ var $d = $('#' + divId); $d.show(); } USAGE getCompTable('compListDiv'); // compListDiv - is a div id="" Yosi Lev 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
function getCompTable(divId){ var $d = $('#' + divId); $d.show(); }
USAGE
getCompTable('compListDiv'); // compListDiv - is a div id=""
Yosi Lev