Comment Form Not Working in IE 6
-
I have this code:
<?php if ( comments_open() ) : ?>
<div class=”blogbefore”></div>
<div class=”blog”>
<div class=”contentconstraint”>
<h3>Leave a comment</h3>
<p class=”headertext”>Comments can contain some xhtml. Names and emails are required (emails aren’t displayed), url’s are optional.</p>
<form id=”commentform” action=”<?php echo get_option(‘siteurl’); ?>/wp-comments-post.php” method=”post”><!–<php smilies_clickable() ?>–>
<div>
<textarea name=”comment” id=”comment” cols=”120″ rows=”6″ tabindex=”1″></textarea>
<input type=”hidden” name=”comment_post_ID” value=”<?php echo $post->ID; ?>” />
<input type=”hidden” name=”redirect_to” value=”<?php echo htmlspecialchars($_SERVER[‘REQUEST_URI’]); ?>” />
</div><?php if(!$user_ID) : ?>
<div id=”inputcontainer”>
<div id=”namefield”>
<input type=”text” name=”author” id=”author” class=”textarea” value=”” size=”15″ tabindex=”2″ />
<label for=”author”>Name</label>
</div>
<div id=”emailfield”>
<input type=”text” name=”email” id=”email” value=”” size=”15″ tabindex=”3″ />
<label for=”email”>E-mail</label>
</div>
<div id=”urlfield”>
<input type=”text” name=”url” id=”url” value=”” size=”15″ tabindex=”4″ />
<label for=”url”>URI</label>
</div>
</div><?php else : ?>
<p>
You are logged in as <?php echo($user_identity); ?>.
</p><?php endif; ?>
<p id=”submitter”>
<input name=”submit” id=”submit” type=”submit” value=”I’m done, post it.” />
</p><?php do_action(‘comment_form’, $post->ID); ?>
</form>
</div>
</div>
<div class=”blogafter”></div><?php else : // Comments are closed ?>
<?php endif; ?>
This code works fine in Firefox but doesn’t allow the user to click on the form and use it in IE, can anybody see what the problem is? Here is a sample page with the actual form.
https://www.chrisvschris.com/wp/spelling-not-so-important/
- The topic ‘Comment Form Not Working in IE 6’ is closed to new replies.