Safari unwanted textbox redirect

Discussion in 'Web Design and Development' started by happy123, Sep 8, 2006.

  1. happy123 macrumors newbie

    Joined:
    Sep 8, 2006
    #1
    I have a web form that displays&behaves correctly in IE, Mozilla, Netscape, etc. In Safari, the form displays, but after enterring text in any textbox and taking the focus off that textbox (moving cursor), the page redirects to another random page. Has anyone encountered anything slightly similar? The site is asp based, with css. Thanks.
     
  2. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #2
    Can you post a link to eliminate the possibility that it's an idiosyncracy on your computer(s) rather than a Safari issue? If it's on the public internet that is.... or else post some code?
     
  3. happy123 thread starter macrumors newbie

    Joined:
    Sep 8, 2006
    #3
    I do not have access to Mac, so I'm designing blindly. I will try to get a screen shot so that I can then isolate and post the code specific to the problem.
     
  4. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #4
    Mmm, okay.

    I'm just thinking out loud here. But there are very limited possibilities about why you are getting re-directed on a focus change. There are really only a few mechanisms (such as JavaScript) that are capable of doing this, right? So it should not be hard to isolate.

    Now when you say random page, do you mean a random page on the public internet, or a random page in your site? The former would be really, really strange.

    Have you run your code through a validator?
     
  5. happy123 thread starter macrumors newbie

    Joined:
    Sep 8, 2006
    #5
    Yes, they are random pages on our site. I assume it is random. I should be getting access to a mac at some point next week to see if it is indeed random. I've ran the style sheet through a validator, but none of the results displayed any obvious red flags. Getting access to that mac should clear up some of the vagueness. The form does have javascript validation. Thanks, the javascript would be a great starting point.
     
  6. happy123 thread starter macrumors newbie

    Joined:
    Sep 8, 2006
    #6
    I was able to solve the random link/form field issue.

    The other remaining issue involves div alignment. The page contains javascript which resizes 3 parallel columns to have identical heights. This javascript uses window.onload=function(){...}. My research has made clear Safari does not yet handle onload, however I haven't found any clear workaround.
     
  7. Thom_Edwards macrumors regular

    Joined:
    Apr 11, 2003
    #7
    care to share what the fix was for the random link/form field issue?

    and i see you started a new thread concerning window.onload. since you posted code there, i'll put in my $.02 there.
     

Share This Page