开发者

migrate to jQuery

开发者 https://www.devze.com 2023-01-17 16:26 出处:网络
Let me make this same command in jQuery $(\'aplicacao\').filterByTagName(searchValu开发者_如何转开发e);

Let me make this same command in jQuery

$('aplicacao').filterByTagName(searchValu开发者_如何转开发e);

currently is in prototype would like to see more on jQuery

Thank you very much


$('#aplicacao ' + searchValue);

And, thanks to mkoistinen:

$(searchValue, '#aplicacao');
$('#aplicacao').find(searchValue);

These two options are better if you'd like to avoid hacking strings together, but the first is better if you want to follow CSS conventions.


$('#aplicacao').find(searchValue);


Well I'm not a pro on protorype and so, not sure what aplicacao refers to, but if it would be an id:

$('#aplicacao').find('h1');

(for example)

0

精彩评论

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