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

Inserting Data using EF with MVC4.

Power Apps Choice Column Default Value with connector as Sharepoint

Understanding Power App