adam84 Posted January 29, 2008 Share Posted January 29, 2008 I am getting the following Javascript error "the system cannot locate the resource specified". I have a form, where the user enters some data. The user then clicks the save button, which calls a javascript function which does some validation and if everything is good, i use ajax to insert the data into my database. Simple stuff. In my form I have a textarea, If i enter a few sentences it works perfect. But if I enter like 200 words in one of the textareas, I get that javascript error. I am just confused on why that error is coming up, when it works fine in one instance, then its screws up in the next. This is the line where the error occurs var desc = document.getElementById('desc').value; ... ... ... sendRequest('updateInfo.php?id='+id+'&sDate='+sDate+'&eDate='+eDate+'&title='+encodeURIComponent(title) +'&serious='+serious+'&far='+far+'&result='+result+'&description='+encodeURIComponent(desc), 'contentDIV'); *desc is the variable that holds the lengthy text Any ideas? Any suggestions? Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.