How do I convert value from text field to String so I can match it with reg.expresion.
Thank you.
validatePhone(form.elements["phone"].value);
function validatePhone(phone){
phone_array = phone.match(myRE);
I have ZipCode input field.
Is there a way when user tries to enter letter or any other char besides number nothing get displayed in the field?
I don't want to display alert box.
Thank you.
Thank you everybody.
Everybody is pointing me to the same direction.
How about solution like that:
First second of the new day there is a script automatically running and setting the field to 1 if the now date is between date fields start and end
and to 0 if not.
Then Wouldn't search be...
Thank you but nobody really answered my question.
I use "date" type but how do I display all articles that
are eligible.
I have 2 fields("date" type):
start day end day
Lets say today is '10/31/2004'
when I do SELECT query
article with start day '10/20/2004'
and end day '11/2/2004'gets...
I am trying to add date data to mySQL.
Upon adding info into database User selects start and end day when he wants his article to be visible.
I have to 2 questions:
1) What format should I save my date info in mySQL?
Is mm/dd/YYYY '10/31/2004' a good solution?
Users can do search and...
Hi,
When I click on text field I would like to redirect my page to "index_1.php"
but I get "Error on Page".
and by submiting button I would like to to go to "index_2.php".
Thank you.
<form name='myForm' action=\"\" method=post>
setLink_1(form){
form.action="index_1.php"...
How should this should be done with an array help?
Thank you.
if(form.elements["state"].value != '3' || form.elements["state"].value != '6' || form.elements["state"].value != '23' ||
form.elements["state"].value != '33' || form.elements["state"].value != '34' || form.elements["state"].value...
I have php generated html,javascript.
print("<FORM NAME=\"form1\" ID=\"form1\" action=\"Layout.php\" METHOD=\"post\" >");
print("<a href=\"javascript:document.form1.submit()\" >GO</a>");
Can somebody tell me please why when I click "GO" I get
"Error on Page"?
Thank you.
Help please.
Does anybody know if it is possible to send a string from php to JavaScript and then to concatenate it into object
because it does not work for me.
Gives me "Error on Page".
Thank you.
<FORM NAME="form" ID="form" ACTION="Layout.php" METHOD="post"
<input type="checkbox"...
I have a Jvacript Form with Submit button that works.
<TD align="center" colSpan=2>
<a href="javascript:document.SubmitForm.submit()" onClick="return validateUSPersonalInfo(SubmitForm)">
<img src="../Pictures/Submit.gif" border=0 alt="Submit" width="73" height="17"></a>
</TD>
I would like...
I use Flash 5.
As I understand I can stop playing frames in Flash
using "stop()";
Is there a way I can stay on one frame for 5 seconds and so delay playing next frames until 5 seconds expire?
Thank you.
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.