I'm trying to bind some specific functions to specific links that have class "aMySpecialClass". Example:入手方法<a href> elements with specific class?
<a href="#" class="aMySpecialClass"></a>
I tried several variations of the following code, no go...
jQuery('a').find('.aMySpecialClass').live(
'click',
function(event) {
jQuery.fn.myfunction(this);
});
Can jQuery find all the using jQuery('a')?
edit: Noted that those links and classes aren't defined at run time, they are dynamically generated after the page is ready, it sends a query to the server, and with the results, it build those links with specific class afterwards.
jQueryのドキュメント – bravedick