ok I have a form that has time drop down boxes and then tigra calendar.
I have a onchange function I have written. basically when everything has a value i want to open another link.
It works ok but the only issue is when calendar fills in date input box it doesn't trigger an onchange. how can...
What I have is a form with select box named in array
name=s_active[]
what I want to do is prevent the form from being submitted if the array has more than 3 values=yes
I know how to work with arrays but am unsure how to count only ones with a certain value.
Thanks in advance!!
ok i have a pop up. and on clicking in the popup i have the following code.
if (!window.opener)
{
alert("Couldnt find window opener. Unable to append email");
}
so that means it found it but the minute. I try to do anything with the window.opener it errors.
like I tried all kinds of...
I have two input values on from a text box and one from select box. I store them as x and y.
x = 7.95
y = 5.95
then when I try to add them z = x + y;
z becomes 7.955.95 how do I decalre them as numbers.
Ok. me again I know I know.
I have input boxes named name[] to make them an array.
How would I add the values of the array to get a total.
And there will never be the same number in the array.
sometimes there may be 3 text boxes sometimes 8.
in php I know I can get a count of values in the...
I am trying to get the correct format of a string
a.innerHTML='<input type="text" name="o_item[]" value="">';
that works fine but i need to add a string in there
I thought it was like this
a.innerHTML='<input type="text" name="o_item[]" value="' + var + '">';
any help would be appreciated.
I'm trying to write to the parent window which I can do if I set up a text box in parent window and write to that.
But instead of having a bunch of text boxes to fill I would rather create new table rows inside a certain table each time the info from child window is selected.
Can I do this or...
I am trying to figure this out now for a bit and its driving me nuts.
I have values in a database that are for a select box they are not in a certain order so .listindex is out of the order. I know the value of the select box and send that to my function. how can i change the selected on...
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.