I have this AJAX-linked PHP file, which gets a username input by the user, checks if it matches the list it has, then sends back a variable to tell the program what to do next (it only offers the log in option if the name matches).
<?php
// retrieve the user name
$name = $_GET['name'];
//...
I'm trying to load variables from the server into a Javascript application with AJAX.
Here are the relevant parts of the code;
Javascript;
var name = 1;
var xmlHttp = createXmlHttpRequestObject();
var newx = 0;
function createXmlHttpRequestObject()
{
var xmlHttp;
if(window.ActiveXObject)
{...
Basically I have the following problem. I am writing a small frames-based Javascript game...
I have two frames in my frameset, one for menu functions and alerts which changes, and one 'bar' which stores all the game data and functions. What I need to be able to do is call a function from the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.