Is there a consistent and generic way to convert prototype code to jQuery?
I'm not asking how to convert specific code like:
From:
Event.observe(window, 'load', function () {
/*code*/
});
To:
$(function(e){
/*code*/
});
But how to convert any code from prototype to jQuery.
I am not sure this is possible, but any suggestions are welcome.
Thanks
Update:
I have been here but this is 4 years old..
You know, a question like (how to load data from the server without reloading the page) in 1990 would have an obvious answer: you cannot
我意识到这样的工具不可能存在
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.