I have the following array:
var acronyms=["fubar","snafu","gnu"];
Does jQuery have a method that would allow me to take each element of this array, and perform a Google search such that:
https://encrypted.google.com/search?q=i
is sent, where i is each element of the array? I have an understanding that XSS attack warnings might come from the browser but that’s fine for now as this is just an exercise. The actual implementation I’ll be using this on is on the same domain as the rest of the project and won’t be mistaken as trickery.
You can use
$.eachand$.ajaxtogether.