开发者

Please find mistake in my selector code

开发者 https://www.devze.com 2023-03-17 22:28 出处:网络
I am trying to hide an array of elements but facing problem while writing selectors for Dynamic elements,Please someone help me

I am trying to hide an array of elements but facing problem while writing selectors for Dynamic elements,Please someone help me

 for(var i=0;i<Codes.length;i++)
 {
  Fi开发者_C百科nQid="";
  FinQid=QID+"_"+Codes[i];
  $("'input[id^='"+FinQid+"']").hide();
 }


$("input[id^='"+Codes[i]+"']").hide();


here:

$('input[id^="'+Codes[i]+'"]').hide();
0

精彩评论

暂无评论...
验证码 换一张
取 消