Learning Dojo - 5. Remote Scripting (AJAX)

Learning Dojo-- 5. Remote Scripting (AJAX)1. Remote Scripting is not just AJAX . There are 3 ways.a

Learning Dojo -- 5. Remote Scripting (AJAX)

1. Remote Scripting is not just AJAX . There are 3 ways.
   a.XHR(AJAX) -> Same-Origin Limited
   b.iframe    -> Same-Orignin Limited; It can post a file.
   c.Loading a script element ->  Not limited to Same-Origin Policy

2. XHR with dojo
     a. Example

       iii.it always returns HTML content
    b.How does dojo help with this?
        I don't care for now