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!
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...
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...
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...
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...
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!
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.