SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 30 of 30
  1. #26
    SitePoint Enthusiast
    Join Date
    Mar 2003
    Location
    PA
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did include it, I'll have to take a look at what I did in the AM.

    Thanks

  2. #27
    SitePoint Enthusiast
    Join Date
    Mar 2003
    Location
    PA
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok this is sad, I put the function inside the
    keyHandler() function! I set it up the right way and it worked.

  3. #28
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  4. #29
    SitePoint Enthusiast
    Join Date
    Mar 2003
    Location
    PA
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    autofill.htc by Beetle...

    Beetle, this is something you helped me with in May. I have resolved most issues with the app but ran into this one that I have not been able to make sense out of. I made a test page so you can see the error. Will still need the component above to make it work.

    If you're out there please let me know what you think.

    Thanks

    <STYLE TYPE="text/css">
    input.autoFill {
    behavior:url(auto_fill.htc)
    }
    </STYLE>


    <script language="JavaScript">
    var vals = ['TEst Project','Developer Assist','Time Management','Developer Assist','email','Warranty','Meeting']
    </script>


    <FORM>
    Running into the following problem when making a change to the selected value...

    The textbox below uses the autoFill behavior. If the value is in the array ['TEst Project','Developer Assist','Time Management','Developer Assist','email','Warranty','Meeting']
    (i.e. TEst Project) it comes up fine. The error occurs when you change the first letter
    i.e. once "TEst project" comes up use the mouse to highlight the "T" change it to lower case this
    is where you will get the "invalid argument" error. I tracked it down to where the
    component calls this statement [found = tr.findText( element.value.replace( regex, "" ), -1 );]
    <br>
    I actually would like to stop the update process if the user goes back and changes something, like making the "T" lower case.
    <br>
    Has autoFill behavior : <INPUT class="autoFill" autocomplete="off" type="Text" name="txtSrProj_8" id="txtSrProj_8" maxlength="20" size="15" value="">
    <BR>

    I have tried several hacks the result was no error but the "t" went back to upper case. Would be nice if once the user goes back I can stop the updates.
    </FORM>

  5. #30
    SitePoint Enthusiast
    Join Date
    Mar 2003
    Location
    PA
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    auto fill text field

    I reposted this under http://www.sitepointforums.com/showt...hreadid=119424. Just thought this was to way long.
    Thanks


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •