 <p>You can pass your array as a JSON string to JavaScript inside the loaded page by calling UIWebView <code>stringByEvaluatingJavascriptFromString:</code>. </p> <p>First, use a JSON library to encode the contents of your array into a JSON-encoded string. If you use <a href="https://github.com/stig/json-framework" rel="nofollow">SBJSON</a> then something like this:</p> <pre><code>NSString* json = [myArray JSONRepresentation]; </code></pre> <p>(this will work with your simple array of strings. If you have a more complicated array of other objects, they will have to be compatible with the JSON serializer)</p> <p>Then, pass this to your webview:</p> <pre><code>NSString* js = [NSString stringWithFormat: "myJavaScriptFunction( '%@' );", json]; [myWebView stringByEvealuatingJavascriptFromString: js]; </code></pre> <p>In your HTML file you will have to implement a JavaScript function (in this example, "myJavaScriptFunction") that accepts the passed JSON, and decodes it into a Javascript array.</p>