Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alert(id);//Getting value
- $http.post('abc.php?flag=pqr',
- {
- 'q' : i,//value is not posting
- 's' : d ////value is not posting
- //How to send value of i and d to abc.php page
- })
- .success(function (data, status, headers, config) {
- alert(data);
- alert("Product has been Submitted Successfully");
- })
- .error(function(data, status, headers, config){
- alert("Something went wrong please try again");
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement