如何在prototypejs中编写以下jquery?
<a class="button view" style="cursor:pointer" id="addComment"></a>
$(function() {
$("#addComment").click(function(){
alert("hello world");
});
});
如何在prototypejs中编写以下jquery?
<a class="button view" style="cursor:pointer" id="addComment"></a>
$(function() {
$("#addComment").click(function(){
alert("hello world");
});
});