Wednesday, September 25, 2013

Java script for get all href link from web page

var arr = [], l = document.links;
for(var i=0; i<l.length; i++) {
arr.push(l[i].href);
alert(arr[i])
}
//array is now an array of all the href attributes from the anchors in the page

If you are searching life partner. your searching end with kpmarriage.com. now kpmarriage.com offer free matrimonial website which offer free message, free chat, free view contact information. so register here : kpmarriage.com- Free matrimonial website

0 comments:

Post a Comment