Post data to server from javascript on client side

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • milkyway

    Post data to server from javascript on client side

    Hello everyone,

    I have a few values and variables that I want to post to a server
    (without using a SUBMIT button). Is there a way to post data from
    within javascript - do sockets or connections have to be open for this
    to work?

    Any help, hints or advice is appreciated :-)

    Kindest Regards.

  • Michael Vilain

    #2
    Re: Post data to server from javascript on client side

    In article <1106002042.248 708.18550@f14g2 000cwb.googlegr oups.com>,
    "milkyway" <d0mufasa@hotma il.com> wrote:
    [color=blue]
    > Hello everyone,
    >
    > I have a few values and variables that I want to post to a server
    > (without using a SUBMIT button). Is there a way to post data from
    > within javascript - do sockets or connections have to be open for this
    > to work?
    >
    > Any help, hints or advice is appreciated :-)
    >
    > Kindest Regards.[/color]

    Nope. Javascript controls the browser which doesn't have this ability.
    You can direct the browser to do a submit to send the data, but that's
    about it.

    Time to re-think your approach...

    --
    DeeDee, don't press that button! DeeDee! NO! Dee...



    Comment

    • milkyway

      #3
      Re: Post data to server from javascript on client side

      Hi Micheal,

      Michael Vilain wrote:[color=blue]
      > In article <1106002042.248 708.18550@f14g2 000cwb.googlegr oups.com>,
      > "milkyway" <d0mufasa@hotma il.com> wrote:
      >
      > Nope. Javascript controls the browser which doesn't have this[/color]
      ability.[color=blue]
      > You can direct the browser to do a submit to send the data, but[/color]
      that's[color=blue]
      > about it.[/color]

      What would be the best way to accomplish this task? Is there any
      documentation available?

      Regards :-)

      Comment

      • Pierre Goiffon

        #4
        Re: Post data to server from javascript on client side

        milkyway wrote:[color=blue]
        > What would be the best way to accomplish this task?[/color]

        Your description wasn't that clear. Please give more details of what you
        are trying to achieve.

        Comment

        Working...