Jump to content

when i select some thing in bill.php ,it ajax call and get value from get user.php then it display content on bill.php the page but how could i hold


Recommended Posts

Strip your code down to the basics. Inside the onreadystatechange event handler, write globalVariable = xmlhttp.responseText; The contents of that variable will only be available after the request has finished, your other functions may be running too early.


Copy the relevant parts of your code into the post so we don't have to download the file.

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...