Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jubalbarca

  1. jubalbarca

    Loading names array from server SQL

    I'm running Apache/MySQL/PHP on my PC, it's all being done on my home system.
  2. jubalbarca

    Loading names array from server SQL

    OK, I'll get that. Many thanks, as usual.
  3. jubalbarca

    Loading names array from server SQL

    The toggle function, when tested with a button, works perfectly though... I'm just getting an 'error on page' message in the Internet Explorer Status bar and nothing at all is working.
  4. jubalbarca

    Loading names array from server SQL

    It's still screwing up... CommentForm is the name of a div tag, the toggle function toggles it to visible.
  5. jubalbarca

    Loading names array from server SQL

    Many thanks, now the problems of implementation... <?php // retrieve the user name $name = $_GET['name']; // generate output depending on the user name received from client if (empty($name)){ $return = 2; } else { //connect to mysql here $conn = mysql_connect("localhost", "", "")...
  6. jubalbarca

    Loading names array from server SQL

    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']; //...
  7. jubalbarca

    AJAX Problem; loading data from server

    Brilliant, works fine now.
  8. jubalbarca

    AJAX Problem; loading data from server

    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) {...
  9. jubalbarca

    Changing div tags in another frame

    Don't worry, I fixed the problem by moving parts of the script into a different script in the m frame. Thanks for your help anyway. P.S. I had defined all my variables and called the script and correctly named my frames though.
  10. jubalbarca

    Changing div tags in another frame

    This script; function chahe() { s2 = (slaves*2); t2 = ((trad/2)*(Math.random()*10)); s5 = (sol*5); parent.m.location.href="cash.html"; var moneystart = parent.m.document.getElementById("moneystart"); moneystart.firstChild.nodeValue = money; var slaves =...
  11. jubalbarca

    Calling from one frame into another and window changes

    Thanks, works awesomely now.
  12. jubalbarca

    Calling from one frame into another and window changes

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

Part and Inventory Search

Back
Top