HighDots Forums  

Re: Howto get data from Server

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: Howto get data from Server in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PVU
 
Posts: n/a

Default Re: Howto get data from Server - 04-02-2004 , 11:48 AM






tnx
i'll check it out.
Peter.

"PVU" <petervu (AT) skynet (DOT) be> schreef in bericht
news:406c883f$0$1368$ba620e4c (AT) news (DOT) skynet.be...
Quote:
Hello,

I have an page that calls the function below.
What i want to do is that this function post data to the server (ASP) and
the server will response with 'OK'
My question is how can i send data clientside from Javascript to the
server
? (navigate ? with url ?)
and check the returned data in the same function ?


function ShowData(TxtArt)
{
alert(TxtArt + ' : ' + parent.frames.Bottom.TxtUsrName.value + ' - ' +
parent.frames.Bottom.TxtRemarque.value); // testing purpose
// post the data to the server. ex .. myURL.asp?userID=1000&Art=ART1201
// fetch the data from the server. to verify if the 'OK' is recieved -
the server will response with 'OK'
// if 'ok' -> i will update clientside an frame (ex. contents of
shoppingbasket)
}

Any idea's ?
Kind Regards,
Peter Verburgh





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.