The easiest way of achieving this is with an iframe. Rather than
including your form HTML in the Raplet response, just make the Raplet
HTML something like <iframe src="http://yoursite.com/form" width="200"
height="200"> and load the form HTML from http://yoursite.com/form.
When you post that form, only the iframe will be refreshed. This has
the downside that you have to set a fixed size for the iframe, but if
that's not a problem for you, this is the simplest solution.
Alternatives would be to use JSONP with an OAuth2 token, or Ajax with
cross-origin resource sharing (CORS), but they are a bit more
complicated to set up.
Best,
Martin
--
Martin Kleppmann
Co-founder, Rapportive
http://rapportive.com
> --
> You received this message because you are subscribed to the Google
> Groups "Raplet developer discussion list" group.
> To post to this group, send email to raple...@googlegroups.com
> To unsubscribe from this group, send email to
> raplet-dev+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/raplet-dev?hl=en
>
Best,
Martin
--
Martin Kleppmann
Co-founder, Rapportive
http://rapportive.com