Reputation: 12043
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
Upvotes: 6
Views: 3179