I want to commit the string "123456"
to the aaa.php
script with the jQuery load()
function. The general syntax of the load() function looks like this:
$(selector).load(url,data,function(response,status,xhr))
In my case I use the function in the following way
$("#htmlElement").load("scripts/aaa.php",'123456');
How can I get access to the string "123456"
inside the following php script?
<?php
$input; //this should be the string "123456"
//some calculations
echo result;