Javascript Widget

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kokababu
    New Member
    • Jul 2008
    • 39

    Javascript Widget

    Hi,

    How do I develop a widget or any tutorial?

    Can anyone please give me some info about the ajax based javascript widget
    where client can submit data to other server (cross domain)?


    Thank you.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You'll have to use a proxy - a server-side page which sends the request to another site, receives the response and sends it back.

    You may be able to make cross-domain calls natively soon, but not yet, at least not cross-browser.

    Comment

    • kokababu
      New Member
      • Jul 2008
      • 39

      #3
      hi,

      Thank you.

      Suppose, a end user wants to attach this widget and his webpage is in different server. How will he/she attach this widget and submit data, using proxy?

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        What kind of widget is it? You can use, for example, the YUI library for ready-made widgets.

        See these links for cross-domain proxies:
        Measure, monetize, advertise and improve your apps with Yahoo tools. Join the 200,000 developers using Yahoo tools to build their app businesses.

        Comment

        Working...