SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Apr 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Site Not displaying in IE

    My website is http://www.exportmarketing.in

    It is displaying properly in all browsers expect IE6 and below. What should I do..? I tried a lot... Anyone help me

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    It has to do with your Javascript .
    Code:
    <script language="JavaScript" type="text/javascript">
    <!-- Hide Code
    function fnValidate(){
    if(document.frmreg.txtName.value == "")
    {
    alert("Please Enter Your Name");
    document.frmreg.txtName.focus();
    return false;
    }
    if(document.frmreg.txtMobile.value == "")
    {
    alert("Please Enter the Phone Number");
    document.frmreg.txtMobile.focus();
    return false;
    }
    if(document.frmreg.txtEmail.value == "")
    {
    alert("Please Enter Your Email id");
    document.frmreg.txtEmail.focus();
    return false;
    }
    var re = /^[_\.0-9a-z-]+\@([0-9a-z][0-9a-z-]*\.)+([a-z]{2,4})+$/i
    if (!document.frmreg.txtEmail.value.match(re))
    {
    alert('Please Enter a Valid Email id')
    document.frmreg.txtEmail.focus();
    return false;
    }
    if(document.frmreg.txtproducts.value == "")
    {
    alert("Please Enter Your School Name");
    document.frmreg.txtproducts.focus();
    return false;
    }
    if(document.frmreg.txtComments.value == "")
    {
    alert("Please Enter Your Comments");
    document.frmreg.txtComments.focus();
    return false;
    }
    return alert('Thank You For Your Submission ! ..');
    }
    //>
    Remove the <!-- and the //> at thee beginning/end of your code and it'll work .
    Last edited by Paul O'B; Apr 30, 2012 at 05:36.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  3. #3
    SitePoint Member
    Join Date
    Apr 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very thankful ryan. Now its work great.

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Glad to hear it . You're welcome.
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work


Tags for this Thread

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
  •