Why Does This Work In FF, But Not In IE? Please Help

Discussion in 'Programming' started by lokielookies, Dec 23, 2008.

  1. #1
    The 'Pick A Color' javascript popup windows on the page below display fine in Firefox, but in Internet Explorer, the popup window is blank.

    See Here

    Does anyone have any idea what's causing this (and how to fix it?)

    ;)
     
    lokielookies, Dec 23, 2008 IP
  2. dremos

    dremos Peon

    Messages:
    13
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    
    
    <input name="adbackcolor" type="text" size="8" />
               
              
    <a href="javascript:TCP.popup(document.forms['form1'].elements['adbackcolor'])">
    Code (markup):

    try to add the id to the input field

    <input name="adbackcolor" id="adbackcolor" type="text" size="8" />
                </label>
              <a href="javascript:TCP.popup(document.forms['form1'].elements['adbackcolor'])">
    Code (markup):
     
    dremos, Dec 23, 2008 IP
  3. lokielookies

    lokielookies Well-Known Member

    Messages:
    1,246
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    150
    #3
    Thanks for the tip. Will try it.
     
    lokielookies, Dec 25, 2008 IP