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 Central Administration in SharePoint 2013 Central ad What it Contains ?

Issue happened with MOSS 2007