Welcome to openkapow Sign in | Join
in Search
.

Using AJAX to dynamically display REST results without reloading the page

Last post 05-14-2007, 10:41 PM by ppow. 3 replies.
Sort Posts: Previous Next
  •  05-06-2007, 11:22 PM 10006

    Using AJAX to dynamically display REST results without reloading the page

    .
    I would like to call a REST and extract information from the result using Javascript / AJAX.

    Is this possible and how? In your help file, I could figure out how to call the REST with PHP, but you never mention AJAX or Javascript. Is there a reason for this?

    I am trying to design a web page where a part of it updates with the REST result as the user types in text (a bit like Google suggest). With PHP, I could only achieve to display the REST information by reloading the page.

    I do not want to reload my page each time I fetch REST output data. That is why I am thinking about AJAX. How can I use this with Openkapow REST robots?

    Any help / suggestion is welcome!
    .

    Filed under: , , ,
  •  05-14-2007, 6:11 AM 10209 in reply to 10006

    Re: Using AJAX to dynamically display REST results without reloading the page

    If you add &resultformat=json to your rest service call, the result will come in a perfect format for you javascript/AJAX application.

     

    Many demos on this site uses this feature - have a look.

     

    Regards

    Martin

     

  •  05-14-2007, 10:23 PM 10239 in reply to 10209

    Re: Using AJAX to dynamically display REST results without reloading the page

    .
    I posted my comment here, where I thought it was more appropriate. Could you please reply?

    http://openkapow.com/forums/thread/5920.aspx

    .

  •  05-14-2007, 10:41 PM 10240 in reply to 10239

    Re: Using AJAX to dynamically display REST results without reloading the page

    TEST
View as RSS news feed in XML
.
Copyright 2006, 2007 KapowTech.com All Rights Reserved Company | Contact | Terms | Privacy