JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Originally posted by Marilyn deQueiroz:
This is not possible with the current software.
Check out my kickstarter CLICK HERE
My book, my movies, my videos, my podcasts, my events ... the big collection of paul wheaton stuff!
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Originally posted by Ajith Kallambella:
I got this error when I tried testing your data entry.
[b]
Method Not Allowed
The requested method POST is not allowed for the URL /ubb/Forum10/HTML/000645.html.
Originally posted by Jason Menard:
Here is some code which demonstrates the concept:
Notice "method=POST"
Reread Ajith's comment.
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Originally posted by Marilyn deQueiroz:
[B]Originally posted by Jason Menard:
Here is some code which demonstrates the concept:
Notice "method=POST"
Reread Ajith's comment.[/B]
I read the comment. Ajith executed an html form I had inadvertantly embedded in this page. The method was POST, which is what you normally do with a form, and there was no ACTION specified. When there is no ACTION specified it implies the ACTION is the current page. Naturally my example trying to POST to THIS page will cause an error which is what happened. The point of the example was to demonstrate the javascript. If you take the code and put it in its own html file the demo will work..
Or have I totaly missed the point and you mean something else?
Jason
I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
I agree. Here's the link: http://javaranch.com/programming-pearls.jsp |