我如何混合jQuery和Prototype并使用两者的优点?
var htmlret = new Element('div');
htmlret = htmlret.update(response.responseText);
// There may be many .SOME-CLASS so use `invoke` to iterate through them
// $$('.clsProPicture').invoke('update', html.select('.clsProPicture').first());
htmlret = htmlret.down("div#dvltrProfilePic");
//alert(htmlret);
$('dvltrProfilePic').update();
$('dvltrProfilePic').update(htmlret);
Run Code Online (Sandbox Code Playgroud)
一些jQuery方法等