how would you use JQuery with asp.net Code-Behind
what i mean by that: i have a div that displays the result based on some processing and this process done on code-behind and based on that result i have to display if the process went through sucessfully or not.
how would i do and is that possible? can anybody show me some sample lines of code to understand?
thanks.
it seems that your are confused over client vs server side processing.
if the process is running on your server, then you can add an asp:label to your div and then in the code-behind set your message to the label.
if the process is running on your client, then you can use jquery to set the message into your div. uses $(“#message”).text(“insert your message here”)