Jump to content

ajax trough get another page content


harpalsinh999

Recommended Posts

i want result in admin.php using ajax trough admin1.php ?

<script type="text/javascript"> function mydata(hhh){ echo "hhh"; var urllink=hhh; $.ajax( { type: "POST", url: "admin.php", data: 'id='+ id; success: function(data) { alert("Hello! I am an alert box!!"); } }); } </script>

Edited by harpalsinh999
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...