+ Reply to Thread
Results 1 to 2 of 2

Thread: FireFox & IE7 On Submit
      
   

  1. #1
    Stroke.nz's Avatar
    Stroke.nz is offline The Man
    Join Date
    May 2005
    Location
    New Zealand
    Posts
    188

    Exclamation FireFox & IE7 On Submit

    Right here we go FireFox has now a new version which is out as well as Microsoft IE7

    In the coding side of things for a IE7

    form

    <form onSubmit="return checkrequired(this)">

    Inside main body
    script>

    function checkrequired(which){
    var pass=true
    if (document.images){
    for (i=0;i<which.length;i++){
    var tempobj=which.elements[i]
    if (tempobj.name.substring(0,=="required"){
    if (((tempobj.type=="text"||tempobj.type=="textarea") &&tempobj.value=='')||(tempobj.type.toString().cha rAt(0)=="s"&&tempobj.selectedIndex==-1)){
    pass=false
    break
    }
    }
    }
    }
    if (!pass){
    alert("One or more of the required elements are not completed. Please complete them, then submit again!")
    return false
    }
    else
    return true
    }
    </script>


    On Submit return IE7 will work with the coding as FireFox wont! any clue for the new coding to work for both IE7 and FireFox

  2. #2
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,219

    Question Re: FireFox & IE7 On Submit

    Hey, Dave!

    I am sure you've kept up with my meltdown, and how IE7 may play into it....funny thing is that ***** was asking me if it was certain websites that my IE6 was acting up, and honestly, it seems to have spread to sites that are secure (like banks, etc.) and those that stick cookies (like shopping sites or affiliate-tracked sites), and seemingly only when submitting info or proceeding through pages that are tracked or "verified."

    I wonder if (like I first surmised) it may be related to IE and Java both? Is that why I was getting certain line Error messages popping up?
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49