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 Wanet Telecoms Ltd 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: *

  • Users: novice2004
  • Content: Threads
  • Order by date
  1. novice2004

    convert value to String

    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);
  2. novice2004

    input field

    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.
  3. novice2004

    Query based on date

    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...
  4. novice2004

    date

    I get two dates from text fields "10/30/2004" "11/25/2004" How do I determine difference in days? Thank you.
  5. novice2004

    form

    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"...
  6. novice2004

    array

    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...
  7. novice2004

    form inside form

    Is it possible to have a form inside form? Would you show me a working example please? Thank you.
  8. novice2004

    form

    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.
  9. novice2004

    form.elements

    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"...
  10. novice2004

    Form Button

    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...
  11. novice2004

    stay on one frame

    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.
  12. novice2004

    writeln problem with &quot; and '

    Help please, Can anybody look at this code: Everything works fine when I use Line 1. When I tried to use Line 2 instead of Line 2 I got empty page. I am trying to use var imgSrc without success. Path to pictures: "http://www.XXX/PhotoAlbum/picture1.jpg"...
  13. novice2004

    writeln

    Help please. I am confused with '". The following does not work. writeln('document.mainimage.src = "' + imgSrc + 'picture' + currentPicture + '.jpg";'); Thank you.
  14. novice2004

    Images viewer

    Hi, Anybody knows about javascript that would accept array of pictures(any number), placed them on website-as thumbnails(5 columns, x rows) and by clicking any thumbnail -> would display picture in real size. Thank you
  15. novice2004

    clear movie(screen)

    Is there a function to clear the movie(screen) created by "duplicateMovieClip"? Thank you.
  16. novice2004

    movie clips

    Help please, new to Flash I created 2 movieclips and placed first movie clip on timeline - frame1, second movie clip on timeline - frame2. The only clip playing is X.swf. How do I get to play XX.swf after X.swf is finished. onClipEvent(load){ loadMovie ("X.swf", "_root"); }...
  17. novice2004

    text field - numerical value

    Would you please provide me with some code that when entering something into text field accepts just numerical value (onKeyPress) Thank you. <TD><INPUT TYPE="text" NAME="Year_Of_Birth" maxLength="4"size="4"></TD>
  18. novice2004

    disable and enable checkboxes

    Does anybody know about script that disable and enable checkboxes based on radio choice. Default is Animal_AllergicYesNo is "No" and checkboxes for Dogs, Cats, ... are disabled When client clicks yes - Dogs, Cats, ... get enabled and client can select checkboxes. <TR>...
  19. novice2004

    checkbox.value

    Is it possible to access checkbox value from my form in java script? something like if(document.form.boxesName.value <> "Mon") <INPUT type=checkbox name="Days" value="Mon">Mon
  20. novice2004

    Problem with checkbox field

    Can someone Help me please, I asked for help at more places without success I have problem with line if (eval("document.form2." + boxesName + i + ".checked")) Even if I check at least one checkbox field code does not seem to see it. In my form I need to make sure that at least 1 checkbox is...

Part and Inventory Search

Back
Top