Jump to content

hgmme@wa

Members
  • Content Count

    95
  • Joined

  • Last visited

Community Reputation

0 Neutral

About hgmme@wa

  • Rank
    Newbie
  • Birthday 08/30/1989

Previous Fields

  • Languages
    (x)html, css, php, mysql, javascript

Contact Methods

  • Website URL
    http://
  • ICQ
    0
  1. Yes it does in fact seem to be working now.Thanks...
  2. I don't know why I didn't think of that, unless it was cause I was tackling it from the perspective of the script should pause everything but the extend function while it's working on stuff in that function.Here's the updated extend() function: xmlHttp = new Array(); function extend(theID, type, ID) { var status2 = document.getElementById('E' + type + ID); if ( xmlHttp[theID] == undefined ) { xmlHttp[theID]=GetXmlHttpObject(); if (xmlHttp[theID]==null) { alert ("Browser does not support HTTP Request"); return; } var url = "" + "adduser2.php"; url=url+"?do=listCats&groupID
  3. I don't know why I didn't think of that, unless it was cause I was tackling it from the perspective of the script should pause everything but the extend function while it's working on stuff in that function.Here's the updated extend() function: xmlHttp = new Array(); function extend(theID, type, ID) { var status2 = document.getElementById('E' + type + ID); if ( xmlHttp[theID] == undefined ) { xmlHttp[theID]=GetXmlHttpObject(); if (xmlHttp[theID]==null) { alert ("Browser does not support HTTP Request"); return; } var url = "" + "adduser2.php"; url=url+"?do=listCats&groupID
  4. I don't know why I didn't think of that, unless it was cause I was tackling it from the perspective of the script should pause everything but the extend function while it's working on stuff in that function.Here's the updated extend() function: xmlHttp = new Array(); function extend(theID, type, ID) { var status2 = document.getElementById('E' + type + ID); if ( xmlHttp[theID] == undefined ) { xmlHttp[theID]=GetXmlHttpObject(); if (xmlHttp[theID]==null) { alert ("Browser does not support HTTP Request"); return; } var url = "" + "adduser2.php"; url=url+"?do=listCats&groupID
  5. I've got a loop that goes through a list of inputs and for every check box it calls a function called check() and for every check box that is checked and part of the class 'group' it calls a function named extend(), which then makes an ajax request to get more stuff to go with the check box that was checked. The code would be working just fine except that the extend() function ends before xmlHttp.readystate even get's to '2', except on the last request which completes it's process successfully.The loop: (which is in the function chStatus()) var inputs = document.getElementById('groupsUL'
  6. So I've narrowed it down to being the "Extend()" function, by defining a variable that equals 1 before the function, then alerting it's value from in the function, and adding 1 to the variable, so I know that the function is called the proper number of times, then I defined another variable before the "stateChanged1()" (again equals 1) and alerted its value from within the if stateChanged == 4/complete statement. Which told me that statement will either prove to be true never, once, or three times, depending on how you hold your nose and what browser your using. (again I haven't yet done much
  7. Woops, new I should have checked to make sure the stuff that should be working is working, cause I had made a few small modifications just before posting including modifying that function name. When your in Firefox, and you check two or more boxes then change the status to '3 (Volunteer)' it should take those checkboxes which represent a 'group' and display the 'categories' for those 'groups', with a checkbox for every 'category'. But instead depending on the browser, it will either show the categories for the top checked group, and none of the others or it will display the categories for th
  8. I was really scarred there for a couple of minutes, cause I thought I posted what will follow this, as a reply but I had actually edited my post! But I managed to find it in my cache, thank Jesus. Which is today people! I know it's a lot of stuff to go through , that's why I delayed asking for help for so long...
  9. Yes this is a php/mySQL situation, because javascript is only a client side scripting language. http://www.google.com/search?q=php+mysql+l...lient=firefox-a
  10. Well I've been trying to figure this out but to no avail at all...I'm making a page for adding users, and when you first load the page it loads a list of "groups" with a check box for each group. There is also a drop down box to select the users status, which starts with "Select Status", and the options are: Select Status 1 (Administrator) 2 (Director) 3 (Volunteer) 4 (User) So when the person adding a user selects 1, or 2, and check a box not much of interest happens, but if a user selects 3 or 4 (4 is actually currently disabled, since I'm not fully ready to build support for it) then ch
  11. You will need to send the information back to a server side scripting language like php using either the POST or GET method, in order to store it in a database.
  12. Wait, it is working, to an extent. There is a duplicate set of check boxes that's invisible, and it's escaped my mind that, that's the case meaning there are two <ul> tags with the same id. So I'm may have to do like one of ya'll said in a different topic and use javascript to write the value of the visible check boxes to an input upon submit time (but how I'm not sure, yet).So thanks ingolme for pointing me in the right direction.edit: I'll leave the w3schools access for a couple of days so that those of you who want to take a quick peek can.
  13. I'm now confused (and it's not ya'lls fault).Reason being: Jesh pointed out what I posted for code, and that isn't actually my code, and I don't remember if I copied that from firebug, or if I copied the html before the first checkbox is checked, then manually added the "V1cats" <ul>. But the "V1cats" <ul> is in the <li> that has the youth checkbox.The webpage is: https://www.ctkanacortes.com/register.phpYou will be redirected to log in, and you can do so with the username: w3schools, and the same thing as the password. (Don't worry you can't actually add a user or entry.)I t
  14. hmm, I wasn't aware of that. Is it because it's still new and not fully developed or have they just not gotten to it yet? What are they doing in a case like this instead? I have alerted them, and they return the correct stuff. I can both see the node I'm trying to delete in the browser and in firebug. Again firebug is returning an error that says:
  15. Hmm... I don't think it's ever taken this long for someone to reply to any of my questions on this forum...
×
×
  • Create New...