Posted by Andy Hassall on 05/25/05 23:57
On 24 May 2005 01:18:38 -0700, "Botan Guner" <botan.guner@gmail.com> wrote:
>I've found that sample too and i can convert my data into json format i
>just don't get how to send it and get new data with it.
>
>I'm trying to do something like;
>
>With one page, at first show the login page for example. After the
>user enters information like username and password, query the database
>and return a result that the information is valid and when it is valid
>show the user the main menu at the same page without refreshing the
>page.
>
>It can be done with json i think but my problem is how to pass the data
>to another page and get a new data without refreshing.
JSON is a format typically used in conjunction with XMLHTTPRequest Javascript
objects, which let you retrieve data in Javascript in response to user actions,
without a complete page refresh.
Also search for "Ajax" which is the currently fashionable name for joining
together the various techniques involved.
--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
[Back to original message]
|