Here is what I'm trying to do:
                        $("#MTB").load(url +" #content", function(data) {
                                   $("a", data).attr("onclick",function (arr) {
                                        var href=this.attr('href');
                                        if (href.match('string') ) {return  
"getMTB
(this.href); return false;"; } else { return 'alert(this.href); return
false;' ;}
                                  });
                        });
It doesn't seem to work though

Reply via email to