Results 1 to 3 of 3

Thread: Easy Java Question

  1. #1

    Thread Starter
    Fanatic Member cid's Avatar
    Join Date
    Nov 2002
    Location
    Fort Worth, Texas
    Posts
    854

    Easy Java Question

    Why does this code work, but the second set of code doesnt?

    This works:
    Code:
    <div align="center">
    <div style="border:1px solid #999999; width:255px; margin-bottom:5px;background-color:#F2F4FA;">
    <form action="http://pub48.bravenet.com/emailfwd/senddata.php" method="post" enctype="multipart/form-data" style="margin:0px;">
    <div style="background-color:#DBE0F5; padding:3px; font:12px arial; color:black;"><b>Online Contact Form</b></div>
    <div style="padding:10px; font: normal 12px Arial; text-align:left;color:black;">What is your name?<br />
    <input type="text" name="name" size="34" style="width:230px;" /><br />
    Where are you from?<br /><input type="text" name="where" size="34" style="width:230px;" /><br>
    E-mail address?<br /><input type="text" name="replyemail" size="34" style="width:230px;" /></div>
    <div align="center">
    <input type="submit" name="submit" value=" Send ">
    <input type="hidden" name="usernum" size="1"  style="border: 0px solid black; height: 0px; width: 0px;" value="4077994829" /><input type="hidden"  style="border: 0px solid black; height: 0px; width: 0px;" name="MAX_FILE_SIZE" value="2000000"><input type="hidden"  style="border: 0px solid black; height: 0px; width: 0px;" name="cpv" value="2" />
    <input type="reset" name="reset" value=" Clear "></div>
    </form>
    <div align="center" style="margin: 5px;"><a title="Free Email Forms from Bravenet.com" href="http://www.bravenet.com"><img src="http://assets.bravenet.com/cp/bn-emailfwd.gif" alt="Free Email Forms from Bravenet.com" border="0"></a></div>
    </div>
    </div>

    This doesnt?!!?:
    Code:
    <div align="center">
    <div style="border:1px solid #999999; width:255px; margin-bottom:5px;background-color:#F2F4FA;">
    <form action="http://pub48.bravenet.com/emailfwd/senddata.php" method="post" enctype="multipart/form-data" style="margin:0px;">
    </form>
    <div style="background-color:#DBE0F5; padding:3px; font:12px arial; color:black;"><b>Online Contact Form</b></div>
    <div style="padding:10px; font: normal 12px Arial; text-align:left;color:black;">Desired User Name: * <br />
    <input type="text" name="Username" size="34" style="width:230px;" /><br />
    Password: * <br /><input type="Password" name="Password" size="34" style="width:230px;" /><br>
    Diablo 2 Account Name:  *<br /><input type="text" name="accountname" size="34" style="width:230px;x" /><br>
    E-mail address:<br /><input type="text" name="replyemail" size="34" style="width:230px;" /><br>
    Comments:<br />
    <input tupe="text" name="comments" size="34" style="width:229;height:229" /><br>
    <div align="center">
    * = Required Fields<br />
    Username so we can identify you<br />
    Password so you can protect your privacy<br />
    Diablo 2 Account Name so staff can contact you in game<br />
    <input type="submit" name="submit" value=" Send ">
    <input type="hidden" name="usernum" size="1"  style="border: 0px solid black; height: 0px; width: 0px;" value="4077994829" /><input type="hidden"  style="border: 0px solid black; height: 0px; width: 0px;" name="MAX_FILE_SIZE" value="2000000"><input type="hidden"  style="border: 0px solid black; height: 0px; width: 0px;" name="cpv" value="2" />
    <input type="reset" name="reset" value=" Clear "></div>
    </form>
    <div align="center" style="margin: 5px;"><a title="Free Email Forms from Bravenet.com" href="http://www.bravenet.com">
      <img src="http://assets.bravenet.com/cp/bn-emailfwd.gif" alt="Free Email Forms from Bravenet.com" border="0" width="110" height="35"></a></div>
    </div>
    </div>

    www.google.com - Pay Tribute.

    Always Listening To: Thrice

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    I'm surprised either of them compiled...
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    try this forum:
    Javascript and HTML forum.

    Java != javascript

    (!= == is not equal to)
    (== == is equal to)

    I am sure you will get more feedback there
    Good luck !
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

Posting Permissions

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



Click Here to Expand Forum to Full Width