Displaying 2 results from an estimated 2 matches for "valfunc".
Did you mean:
evalfunc
2007 Mar 26
1
Handling Multiple Select Lists
...on value="AD">Andorra</option>
<option value="AG">Antigua and Barbuda</option>
<option value="AM">Armenia</option>
<option value="AW">Aruba</option>
</select>
// Form Function
function getformvalues (fobj, valfunc){
var str = "";
aok = true;
var val;
//Run through a list of all objects within the form.
for(var i = 0; i < fobj.elements.length; i++){
if(valfunc) {
if (aok == true){
val = valfunc (fobj.elements[i].value,fobj.elements[i].name);
if (val == false){
ao...
2012 Mar 26
2
y needing more than 2 functions
Dear all,
I'm aware if y has two separate functions (depending on the conditions
of x) you can use the ifelse function to separate y into two separate
functions depending on input. How do you do this if there a multiple
different conditions for x?
for example,
y fits the following between t>0 & t<15----->function(t) t^2, y fits
the following between t>15 &