Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 03, 2013 08:44 PM by elic05
Feb 03, 2013 11:42 AM|LINK
I use js sdk to get data from facebook, I need to post this data to the server. and depending on this data I want to show something to the user.
if I use ajax I can't update sever text fields (and cant show the user the correct message).
if I use post, the page is reloaded, and the js again goes to the facebook to get the data and there is an non-ending loop.
is there a way to do that.
Feb 03, 2013 01:54 PM|LINK
Your Ajax webmethod can do the processing and return results back to the client and the client can update the text fields or whatever other controls you need to update.
Feb 03, 2013 04:01 PM|LINK
the ajax sends data, the proccessing to check the id it got is done by server side, can the result of the checking be sent back to the client side?
that would be great, how can i send the result from the server back to the ajax method?
Feb 03, 2013 08:44 PM|LINK
ok, I figured it out, I just did response.write
I have a new problem but i will open a new thread