Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2010
    Posts
    7
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Browser detection for expanding 'width' SELECT column. IE not working right.

    Hey all,

    http://www.lindesigns.us/rma/rmaonline.php

    If you go to that site on Firefox, the "Return Code #" expands. But if you use IE, you'll see that it doesn't.

    I could add a fix in there for the fields if they were static, but if you see my javascript, they are dynamically loading fields.


    This "class":"wide" is not working:

    Code:
    invoiceInput.appendChild(createElement("input", {"type":"text", "name":"invoice[]", "size":"8", "class":"wide;"}));

    I am using a script I found on a jQuery board (http://jsbin.com/acado/6), and it works for them, but not for me because my syntax is probably wrong. And they also are just using 1 field and not near-unlimited dynamically loading fields like I am.


    How would I add in a fix to have the browser 'only' use the expansion if the user is using IE6 or IE7?

    I searched on the boards but couldn't find the solution to this problem. Thanks in advance!
    Last edited by hrl2k; 08-07-2010 at 12:01 AM.

  • #2
    New to the CF scene
    Join Date
    Jul 2010
    Posts
    7
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Update: EDIT - all info moved to first post
    Last edited by hrl2k; 08-07-2010 at 12:02 AM.


  •  

    Posting Permissions

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