views:

26

answers:

1

I have one FBML static page added as a tag in my facebook page. It is basically a newsletter sign up. I want the page to submit via Ajax to an external website, get the response and show the response message in the facebook tab. IS it possible in this scenario using FBJS.

Here is my newsletter html which is used to draw the tab.

<div id="response_msg"></div>
<div class="register">
  <form  id="newsletter_signup" action="http://my webserver page/" method="post">
     <h1>Register for updates</h1>
      <ul>
         <li><label>First Name</label>
            <input type="text" class="hint" value="" name="first_name">
         </li>
         <li><label>Last Name</label>
             <input type="text" class="hint" value="" name="last_name">
         </li>
         <li><label>Email</label>
             <input type="text" class="hint" value="" name="email">
         </li>
         <li>
             <input type="submit" value="Submit" name="Submit" > 
         </li>
     </ul>
  </form>
</div>
+1  A: 

check this once http://www.pqinternet.com/229.htm

NH884