11-10-2009, 12:00 PM
Quote:That should submit your form, as for the part when it sends you to New Topic,
I can only assume that something is wrong with the action attribute of your form.
I would nee to see the code that handle the form submit.
You want to good news or the bad news? Well actually theirs no good news, Still sends me to the new topic page.
Here's the full html script.
Code:
<form name="post" id="Submit" method="post" action="http://www.teamxlink.co.uk/forum/posting.php?mode=reply&t=36001">
<input type="text" value="Title" class="post" tabindex="2" style="width: 450px;" maxlength="60" size="45" name="subject"/>
<body onload="document.forms.post.submit();">
<textarea onkeyup="storeCaret(this);" onclick="storeCaret(this);" onselect="storeCaret(this);" class="post" tabindex="3" style="width: 450px;" cols="35" rows="15" name="message"/>Main Message Here</textarea>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<input type="submit" value="Submit" class="mainoption" name="post" tabindex="6" accesskey="s"/>
<script language="javascript" type="text/javascript">
document.post.submit();
</script>
</form>
Im trying to post a thread on a a forum called xlink forums [forget what that forum is about just used it as a testing ground]
One thing after another huh?
Thanks Bye.