www.webdeveloper.com

Search:

Type: Posts; User: arkitektron

Search: Search took 0.01 seconds.

  1. Change color of Text Field using JavaScript

    Hello,

    A quick question that should be easy for any intermediate JavaScript developer or beyond in skill level.

    Can you control the color of a text field using JavaScript? I want to change...
  2. Replies
    4
    Views
    1,342

    Using the code example in the previous reply I...

    Using the code example in the previous reply I ended up putting together the following:


    var user = document.Form1.txtPestExpire.value;
    var needle = /^(\d{2})\/(\d{2})\/(\d{4})$/;
    ...
  3. Replies
    4
    Views
    1,342

    I would also like to add that I have been trying...

    I would also like to add that I have been trying the following JavaScript at the end of the form for the text field and it is not doing any good:

    </form>
    <script...
  4. Replies
    4
    Views
    1,342

    JavaScript and Text Field for Date

    Hello,

    I currently have an application which has an HTML form where users will submit customer information. On of the text fields holds date information in the following format:

    07/01/2012...
  5. Replies
    1
    Views
    3,457

    Ok... I figured this one out. The following...

    Ok... I figured this one out. The following worked for me in the <body></body> of the page I placed the following JavaScript right after the closing </form> tag and it worked perfectly in both...
  6. Replies
    1
    Views
    3,457

    set text field value on page load

    Hello,

    I have a text field that is for a number. On page load the value is "0.0000"... I want the text field to be blank if the value is indeed "0.0000".

    Obviously the following would be out...
  7. Replies
    1
    Views
    3,814

    IF/ELSE statements and Form Validation

    Hello,

    I am using the following javascript to validate a text field on my site:


    function checkExpire(form)
    {
    // regular expression to match required date format
    re =...
Results 1 to 7 of 7
HTML5 Development Center



Recent Articles