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

Related Posts:

  • What is trigger? What is trigger? Triggers allows us to execute a batch of SQL code when either an insert, update or delete command is executed against a specific t… Read More
  • Goto Statement goto statement : The goto statement transfers the program control directly to a labeled statement. It takes one of the following fo… Read More
  • css menu design Home Products Product 1 Product 2 About Contact #cssmenu{ height:37px; display:block; padding:0; margin: 0 auto; … Read More
  • Accordian Jquery Example Section 1 Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut … Read More
  • Export to excel using java script <html> <head> <script type="text/javascript"> function write_to_excel() { str=""; var mytable = document.getElementsBy… Read More

0 comments:

Post a Comment