How to post data using J-Query

Here we are making a post method using the J-Query.
Firstly we specify the component which is calling the function.
Here "btn" is the component Id which is calling the post method .
The post function is AssignVal().

$("#btn").click(function(){
$.(post)("AssignVal",{ARG1:$('#Component1_Id ').text(), empid:$('Component2_Id').text()});
location.reload();
 });


Comments

Popular posts from this blog

What is Monitoring in SharePoint 2103? What are the other option in SharePoint 2013?

Understanding Power Automate