How can I use JavaScript to get the source code of a given URL? I want to have it stored in a string or array or something in my function so that I can parse data from it.
Also, is there a way to access LDAP with JavaScript?
You can do that only in association with ActiveX (for IE) and XMLHTTP (for Moz) objects and requests. Search the Forum, there must be here and there some cross-browser codes to do that