I am working in asp.net webforms and jquery ajax since many years and now want to implement a project in asp.ner core using same front end technology jQuery Ajax.
I am working in asp.net webforms and jquery ajax since many years and now want to implement a project in asp.ner core using same front end technology jQuery Ajax.
2
Answers
jQuery implementation is same across multiple platforms. You can use similar code.
Example of jquery ajax:
You can apply inline
data-ajax-*
attributes as below:Include jquery libraries:
Apply data-ajax attributes to anchor element:
and the backend method:
Same attributes can be applied to the forms as well.
See demos here: http://demo.ziyad.info/en/AjaxRequest