I've just started to use jquery and asp.net, bearing this in mind I was wondering if someone could help me with the following question.
say I have an ASP:Link which when clicked performs a server side function "setData()", I then have jquery to set the class of the link to selected or hide the link (using animation). the problem im having is that when you press the link the server goes and does what it has to and reloads the page, this in turn reloads the whole DOM and the stuff jquery does is deleted.
is there any way i can have both the jquery and asp.net working together without the asp.net reloading the page. I hope this makes sense. I know I can set the links cssclass to be selected from the server side but the above example is just a simple example.