AJAX calling php function ajax - Net-Raft.com

Welcome aboard! We are happy you are here and wish you good net-raft!




Just a Web Code Solution
join us

Calling php function with AJAX


 682

Show Result
insert_into_file_php.txt
AJAX


2

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js "></script>
</head>
<body>

<script>
str1 = "jquery_ajax";

$.ajax({ url: '/project/Robi/sl_Dm3yB9FrGi2019114339/file.php?value=' + str1,
data: 'functionName=phpfunction',

type: 'get',
success: function (data) {

var obj = data;
eval(obj);

}

});
</script>
</body>
</html>


By        
The power of the user (%)
62%



The most helpful AJAX solutions

How to call php file using javascript ajax ?How to call php file using javascript ajax ?AJAX

Click to see more ...

  715     54

Calling php function with AJAXCalling php function with AJAXAJAX

Click to see more ...

  682     51

How to get a text from php file using ajax ?How to get a text from php file using ajax ?AJAX

Click to see more ...

  573     49

How to call php function placed in php file using jquery ajax ?How to call php function placed in php file using jquery ajax ?AJAX

Click to see more ...

  539     47

How to call the php function with jquery ajax ?How to call the php function with jquery ajax ?AJAX

Click to see more ...

  385     44

How set interval php function using ajax ?How set interval php function using ajax ?AJAX

Click to see more ...

  648     38

How to trigger a code placed in php file using ajax ?How to trigger a code placed in php file using ajax ?AJAX

Click to see more ...

  587     27

How to create javascript ajax function ?How to create javascript ajax function ?AJAX

Click to see more ...

  424     24

jquery AJAX and calling php function ?jquery AJAX and calling php function ?AJAX

Click to see more ...

  292     21

 How to call ajax function and get text from php file? How to call ajax function and get text from php file?AJAX

Click to see more ...

  247     16

Welcome aboard!
We are happy you are here and
wish you good net-raft!