Is it possible to fetch data posted by my application at some url/file (e.g.
- *http://www.thalasoft.com/engine/system/admin/login.php)  by
$_POST?????????*

On Wed, Apr 23, 2008 at 9:31 AM, Meenu Gupta <[EMAIL PROTECTED]>
wrote:

> THanks to all.I'll try all above examples.
>
>
> On Tue, Apr 22, 2008 at 8:53 PM, Aakash Bapna <[EMAIL PROTECTED]> wrote:
>
> > Hi Stephane,
> > The makeRequest() function doesn't generate the code for input boxes,
> > buttons. You have to add the code for html for them your selves;
> >
> > here is the code that should give you input box, button.
> >
> > *<?xml version="1.0" encoding="UTF-8" ?>
> >  <Module>
> >  <ModulePrefs title="Thalasoft Admin Login">
> >  <Require feature="opensocial-0.7"/>
> > </ModulePrefs>
> >  <Content type="html">
> >  <![CDATA[
> >
> >  <script type="text/javascript">
> >
> > function makeNormalRequest() {
> >  var params = {};
> >  params[gadgets.io.RequestParameters.CONTENT_TYPE] =
> >  gadgets.io.ContentType.TEXT;
> >  var url = "http://www.thalasoft.com/engine/system/admin/
> >  login.php";
> >  gadgets.io.makeRequest(url, response, params);
> >  };
> >
> > function response(obj) {
> >  var str = obj.text;
> >  var html = str.substr(0, 10000);
> >  alert(html);
> >  document.getElementById('content_div').innerHTML = html;
> >  };
> >
> > </script>*
> > **
> > *<input type="text" name="test" id="textbox" size="10"/>*
> > *<button onClick="javascript:makeNormalRequest();">Start test</button>*
> > *<div id="content_div">response text comes here</div>
> >  ]]>
> >  </Content>
> >  </Module>
> > *
> >
> >
> > Thanks
> >
> > ~Aakash Bapna
> > http://aakash-bapna.blogspot.com
> >
> >
> >
> > ------------------------------
> >
> > > Date: Tue, 22 Apr 2008 06:45:34 -0700
> > > Subject: [OpenSocial] Re: Post & Get(Very Urgent)
> > > From: [EMAIL PROTECTED]
> > > To: [email protected]
> > >
> > >
> > > I'm also trying to display a form in a social app but I have a problem
> > >
> > > The page is fetched fine and displayed, but the form input fields are
> > > not displayed.
> > >
> > > The gadget source code:
> > >
> > > > > >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to