title: Get file contents in java script
body: <p>I've a URL that its contents are also JavaScript codes, I want to get the contents of this URL via JavaScript something like to <code>file_get_contents()</code> in PHP and show them to the user using the <code>alert()</code> function.</p>