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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tfreeman2004

    checkbox strategy

    So can I assume that in this line the value is being returned to the if statment. if (!o.length) { return ((o.checked) ? 1 : 0);} and here being returned to the main function return c; Youve already helped me to clear up several things , thanks alot!
  2. tfreeman2004

    checkbox strategy

    man thats great! But I have a very basic question now, where are those values being returned to? return ((o.checked) ? 1 : 0); and return c; Im trying to invision this thing evaluating and passing along its solutuions to the next chunk of code but Im unsure about the proper use of return(). I...
  3. tfreeman2004

    checkbox strategy

    Thanks jemminger, I can follow almost all of that with no problem I should be able to continue studying it to get a better idea of how I should structure my stuff, however your code for getNumChecked is hard for me to follow but I really want to understand whats its doing, I looked in my pocket...
  4. tfreeman2004

    checkbox strategy

    I made an attempt to make a function that covered a little more ground but it doesnt work, and I dont know how to debug it , if anyone would look at http://www.packets80.com/sleepQuizTestSource.htm and just tell me if Im way off or kinda close or what, I see an error flash down there but it...
  5. tfreeman2004

    checkbox strategy

    Ok heres what I came up with, I know its not effecient but thats the kind of stuff I hope to learn, you can look at just the java at, http://www.packets80.com/sleepQuizSource.htm or see the finished product at, http://www.packets80.com/sleepQuiz.htm I welcome any suggestions, especially any...
  6. tfreeman2004

    checkbox strategy

    Thanks that works great, I would like to post this somewhere when its done so it can be critiqued by you guys because Im sure my code is laughable but it does work at this point thanks alot!
  7. tfreeman2004

    checkbox strategy

    Hi everybody, I have several groups of checkboxes with each group containing 3-14 check boxes, now I need to go through and find whether more than 3 boxes are checked in each group, the way I have this written I dont believe is the best way, I have given each box within its "group" a special...
  8. tfreeman2004

    Custom "leaving" page

    If two visitors click links destined to send data to cgi at the same time would sessions be needed to keep visitor a's variable seprate from vistors b's. I had thought that taking advantage of javascript being client side would make that scenerio go away, also what's basic to you isn't to me...
  9. tfreeman2004

    Custom "leaving" page

    I got it!!! I decided to start from scratch and do javascript even though my skills there are shaky as well but this worked great sending link looks like this: <a href="redirect.htm?xurl=http://www.externalSite">leave</a> on redirect.htm I made the funtion setLink like: function...
  10. tfreeman2004

    Custom &quot;leaving&quot; page

    Ok I started over with this and its a little closer to working for the links that lead away I have this. <a href="redirect.php?url="http://www.externalSite.com">external site</a> Then for redirect php I have my page that I made for telling people they are leaving, th elink for the continue...
  11. tfreeman2004

    Custom &quot;leaving&quot; page

    I am giving up on this for now, as I have to be done tonight or I dont eat this week, so Im writing out an individual page for each link, honestly I dont believe this will even work because out of two days of very hard searching and posting in forums not one person had any idea how to pull this...
  12. tfreeman2004

    Custom &quot;leaving&quot; page

    I cant seem to google up the example Im look for I understand what I need to do I need to make th elinks on the sending page the way you said ie. href="http://cgi-bin/exitPage.cgi?varUrl="http://www.targetsite.com" with the contents of exitPage.cgi being <?php $varUrl=""; header(location...
  13. tfreeman2004

    Custom &quot;leaving&quot; page

    What about the generic page Ive made in plain html that has a back button where use javascript:history.back(1), but the continue button link needs to lead to where ever they were going, Ive seen versions of this with a timed redirect but I dont want the timer and that was javascript too, Im not...
  14. tfreeman2004

    Custom &quot;leaving&quot; page

    Hello everyone, I have what sounds like a simple problem but I cant get anything to work. I have about 20 links that lead to other sites, I need these links to point to a standard page that say your leaving this site click continue or cancel, javascript alert is unacceptable to the customer...

Part and Inventory Search

Back
Top