So I am porting a variation of the board game Hex from java to
javascript, as I am putting it on the web. One of the functions I
need to write for the computer AI to get his next move is to fill in
the rest of the board (a filled hex is red or blue, an unfilled is
white) 300,000 times, randomly,
I am having trouble with AJAX:
In document ready i have:
$.post("test.php", function(data){alert('Success');});
and test'php is just ...the alert never comes up
This is just a test... In addition to the callback not working, when
the php file updates a mySQL database, those updates are never m
"Jonathan Sharp" <[EMAIL PROTECTED]> wrote:
> Hi jbhat,
>
> Can you post a URL? It's nearly impossible to debug or provide any feedback
> from reading the code below.
>
> Cheers,
> -Jonathan
>
> On Fri, Jul 11, 2008 at 2:51 PM, jbhat <[EMAIL PROTECTED]>
Okay, i got my code up and running on http://bttt.bidding-games.com/game.php
when you type something in the bid box, and hit enter, we get a post
firing to setBothBids.php. However, the alert in this function's
callback is not firing. Why?
Thanks,
Jay
On Jul 11, 1:28 pm, jbhat &l
Okay, i got my code up and running on http://bttt.bidding-games.com/game.php
when you type something in the bid box, and hit enter, we get a post
firing to setBothBids.php. However, the alert in this function's
callback is not firing. Why?
Thanks,
Jay
On Jul 11, 1:28 pm, jbhat &l
Hi,
So i use $.post to call click.php. The variables are getting posted
to this function correctly confirmed via firebug
id 197
player1 false
pos b4
turnbid
in my php code, i get them immediately, but when i use $id in mySQL,
it seems to disappear:
die is returning
SELECT boar
6 matches
Mail list logo