Current location: Hot Scripts Forums » General Web Coding » JavaScript » Post button works with Netscape, but not IE??

Post button works with Netscape, but not IE??

Reply
  #1 (permalink)  
Old 01-02-05, 07:19 AM
Comicboards Comicboards is offline
Newbie Coder
 
Join Date: Jun 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Post button works with Netscape, but not IE??

Does anyone have an idea why this freaking post button works fine in Netscape, but doesn't work in IE?

It could be a big reason why I am not getting many subscribers!

http://www.comicboards.org/cafe/post/post.html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<title>post</title>
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(0, 0, 128);"
alink="#000088" link="#0000ff" vlink="#ff0000">
<table
style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 51); font-family: felix titling; width: 649px; height: 148px; text-align: left; margin-left: auto; margin-right: auto;"
border="0" cellpadding="2" cellspacing="0">
<tbody>
<tr>
<td style="text-align: center; vertical-align: middle;">
<h1><big>THE
CAFE FORUM</big></h1>
</td>
</tr>
</tbody>
</table>
<center><small></small>
<table
style="text-align: left; background-color: rgb(255, 255, 255); width: 649px; height: 148px; color: rgb(51, 51, 51); font-family: felix titling;"
border="0" cellpadding="2" cellspacing="0">
</table>
</center>
<a name="post">
<center>
<h2><font color="#00ccff">Post A Message!</font></h2>
</center>
</a>
<form method="post"
action="http://www.comicboards.org/cgi-bin/cafewwwboard.pl"><font
color="#00ccff">Name: </font><input name="name" size="50" type="text"><font
color="#00ccff"><br>
E-Mail: <input name="email" size="50" type="text"></font>
<p><font color="#00ccff">Subject: </font><input name="subject"
size="50" type="text"></p>
<p><font color="#00ccff">Message:<br>
<textarea cols="55" rows="10" name="body"></textarea></font></p>
<p><font color="#00ccff">Optional Link URL: <input name="url"
size="45" type="text"><br>
Link Title: <input name="url_title" size="50" type="text"><br>
Optional Image URL: <input name="img" size="45" type="text"></font></p>
<p><font color="#00ccff"><input value="Post Message"
onclick="disabled=true;return true;" type="submit"> <input
type="reset"> </font></p>
</form>
</body>
</html>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 01-02-05, 01:14 PM
nekeno12 nekeno12 is offline
Wannabe Coder
 
Join Date: May 2004
Location: CO
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
Use this script instead of what you have coded:

http://www.dynamicdrive.com/dynamici...submitonce.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 01-02-05, 07:43 PM
Comicboards Comicboards is offline
Newbie Coder
 
Join Date: Jun 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Nope it still doesn't work. Is that compatible with my Cgi-bin?

Does anyone know why the original form won't post under IE, but will with Netscape?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 01-02-05, 08:13 PM
Comicboards Comicboards is offline
Newbie Coder
 
Join Date: Jun 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
I've removed the script that stops duplicate posts from that webpage.

If anyone has both netscape and IE, checkout http://comicboards.org/reality and try to post with IE.

The script is still the same for stopping duplicate posts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 01-08-05, 09:24 AM
TwoD TwoD is offline
Community Liaison
 
Join Date: Sep 2003
Location: 404
Posts: 1,814
Thanks: 0
Thanked 0 Times in 0 Posts
<input value="Post Message"
onclick="disabled=true;return true;" type="submit">
should be:
<input value="Post Message"
onclick="this.disabled=true;return true;" type="submit">

Don't think the first script should work in NE either....
Btw, use the [code ][/code ] wrappers for long code pieces. Makes it easier to read.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 01-09-05, 05:16 PM
Comicboards Comicboards is offline
Newbie Coder
 
Join Date: Jun 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by TwoD
<input value="Post Message"
onclick="disabled=true;return true;" type="submit">
should be:
<input value="Post Message"
onclick="this.disabled=true;return true;" type="submit">

Don't think the first script should work in NE either....
Btw, use the [code ][/code ] wrappers for long code pieces. Makes it easier to read.
Thanks!

_____________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 09:51 AM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.