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(); });