Results 1 to 2 of 2

Thread: java script calling post method?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Resolved java script calling post method?

    is it possible when i select the item from the list menu, and it immediately post the data? is it need java script to that? can work?
    Last edited by kenny_oh; Dec 11th, 2005 at 09:46 AM.

  2. #2
    Fanatic Member kaihirst's Avatar
    Join Date
    Jul 2005
    Location
    The Resaurant At the End of The Universe
    Posts
    633

    Re: java script calling post method?

    Hi,

    you are inquisitive arent you!!!!

    in the Select tag itself use the onChange event handler, and this code.

    Code:
    document.myformname.submit()
    this will submit the form and the form method wil take care of the rest.

    Better be rating my rep for this and the other ones...!!! (please...)

    Hope this helps

    Kai
    As the information I give is useful in its nature, consider using the RATE POST feature located on the bottom left of this post please..

    A few things that make a good Developer a Great One.
    Methodical and a thorough approach to research and design inevitably leads to success.
    Forward thinking is the key to Flow of control.
    Never test in the design environment, always test in real time, you get the REAL results.
    CBSE & OOSE are the same animal, they just require different techniques, and thinking.
    SEO is a globe of objectives, SE rankings is an end to a means for these objectives, not part of them.
    The key to good design is explicit attention to both detail and response.
    Think Freely out of the "Box" you're in..... You will soar to better heights.

    Kai Hirst - MSCE, MCDBA, MCSD, MCP, MCAP, MSCT


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width