URI Problem with Ajax and jQuery |
[eluser]Devyn[/eluser]
Hi, Let's say I have 2 Controller (server and game). I show server list with controller 'server/index' which call multiple view. I check with jQuery every 3 seconds if both players are ready to play. Code: if(data == 1){`window`.`location`.replace('redirect_to_game/'+server_id);} Code: function redirect_to_game($server_id){ I mean above Code: redirect_to_game If i add parent controller like this, Code: if(data == 1){`window`.`location`.replace('server/redirect_to_game/'+server_id);} |
Messages In This Thread |
URI Problem with Ajax and jQuery - by El Forum - 04-28-2010, 10:38 AM
URI Problem with Ajax and jQuery - by El Forum - 04-28-2010, 06:16 PM
URI Problem with Ajax and jQuery - by El Forum - 04-28-2010, 08:26 PM
URI Problem with Ajax and jQuery - by El Forum - 04-28-2010, 09:36 PM
URI Problem with Ajax and jQuery - by El Forum - 04-28-2010, 09:42 PM
|