I've been working on a website for quite some time that makes heavy use of ASP.Net 3.5 and it's many ajax features. I particularly use the ScriptManager to register WebServices (.asmx) a lot. I also use their $get('idnamehere') method all over the place. I'm not really using any Ajax.Net pre built tools (like from the Toolkit) everything is custom.
I'd like to make the move to jQuery, as it seems a lot more useful. What do I need to look out for? Is this even wise? Should I remove the ASP.Net ScriptManager from my masterpage all together?
here's a sample of what my JavaScript might currently look like:
function doSomethingAjaxy() {
var dropDownList = $get('dropDownListClientIDHere');
MyWebServiceIRegistered.CallSomething(dropDownList.value, onSuccess, onFail);
}
function onSuccess(result) {
alert('OMGWEE: ' + result);
}
function onFail(result) {
alert('OMGFAIL: ' + result._message);
}
Assuming the above, what would need to change if I moved to JQuery?