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 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2007
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    My stupid script has ie problem

    Hello. I hate ie. I have a stupid script that works in mozilla but not in ie. I get that document.bill.message is null or not an object. Have i done something wrong?

    <SCRIPT LANGUAGE="JavaScript">
    function textCounter() {
    alert(document.bill.message.value.length);
    }
    </script>

    <form action="smsf2.php" method="POST" name="bill">
    <table border="0" cellspacing="1" cellpadding="3" class="contentfont">
    <tr bgcolor="FFFF66"><td>tt</td></tr> <tr><td>
    <textarea name="message" rows="3" cols="60"
    onKeyDown="textCounter();"
    onKeyUp="textCounter();">
    </textarea>
    </table>
    <br>
    <input type=submit name=proceed value="Send SMS">
    </form>

  • #2
    Banned
    Join Date
    Jan 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well if your script is stupid... its likely that it does not work correctly . Btw the script loooks ok.. browser problems are the most common problems. There are lots of websites were you can compare the possibilities of Mozilla and Ie. Try google or microsoft.com

  • #3
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,730
    Thanks
    202
    Thanked 2,507 Times in 2,485 Posts
    It seems to work fine for me in IE.


  •  

    Posting Permissions

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