asp.net - How to call server side function using jquery wth out page refresh? -


How to call server side function using jquery wth out page refresh?

Use AJAX:

  $ ('Somepage.aspx', {foo: 'bar'}, function (data) {warning ('Page returned it:' + data);});  

Then set somepage.aspx to execute the function and return data (if necessary).

For more information on jQuery AJAX, see:


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -