I'm new to programming,
Here's my problem:
I'm using a for loop to generate a list of hyperlinks
for(i = 100; i < 200; i++)
var str = "link";
document.write(str.link('http://someWebsite.com/' + i +'.html'));
so the list that is generated looks like...
---------and so on until the loop is finished.
My question: is it possible for each links text to be dependent on the pages title?
for example instead of the the text "link", the program would follow the URL and know in the pages header was the title "Bob's website" or whatever the pages title was and would generate the list.
Any help to differentiate the links text based on following the URL would be helpful Thank you!