wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Form submit problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Form submit problem" Watch "Form submit problem" New topic
Author

Form submit problem

Jodi Eckstine
Greenhorn

Joined: Feb 06, 2004
Posts: 5
I have a form with four text areas. To submit the form, I have an image that is a link set up like this:
<a href="javascript rocessSave()"><img src="<cfoutput>#IMAGESPATH#</cfoutput>/Save.gif" alt="Save"></a>
In the processSave function I call this:
document.detailForm.submit();
If one text area has about 1000 characters entered into it, the form submits. If I try to enter about the same amount of text into a second text area, I get an invalid syntax error for the document.detailForm.submit.
Has anyone had this kind of problem?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
your form is it a "post" or "get"?
Jodi Eckstine
Greenhorn

Joined: Feb 06, 2004
Posts: 5
It was a get. I changed it to post and that was it. Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Form submit problem
 
Similar Threads
Add an element with a .jsp file
Add a element to a html table
is there anything like formpost in jsp?
How to use Babelfish web service for Chinese ...
How to get last selected value in list box?