Calling multipe Scripts from JavaScript in Android
<p>I am having problems with calling one or more scripts from JavaScript. My application has to login to an external website. I don't have access to that website. It doesn't work with webview.loadUrl(url). Also I could not get it to work with JavaScriptInterface. The best thing would be if I can get it to work without the use of a WebView, but I would also realy glad if it works with a WebView. The functions are:</p>

<pre><code>AJS.AEV(window, 'load', function() {
        $('#Inloggen').dialog('open');
        $('#rijschool').val("somVariable");
        $('#email').val("myEmailAdress");
        $('#password').val("myPassword");
        }
    );
</code></pre>

<p>and</p>

<pre><code>$("input[type='button']").click(function() {
            $.ajax({
                url : "/",
                data: {module:'authentication',action:'login',referer:'/',method:'modal','rijschool':$("#rijschool").val(),'email':$("#email").val(),'password':$("#password").val()},
                type: "post",
                success: function(data) {
                    data = filterData(data);
                    $("#Inloggen").html(data);
                }
            });
        });
</code></pre>

<p>(Some variable names are written in Dutch.)</p>

<p>Thanks!</p>
