5
Answers

how to get all my desired links from a html page

Prasanth R

Prasanth R

11y
1.5k
1
if suppose im having youtube homepage(www.youtube.com) which contains numerous links, i want to get all the link of youtube videos alone and it must be stored in a array.. it contains around 10 videos i want 10 videos link in array.. how can i do it???
Answers (5)
0
thomas.jaskula
NA 5 0 20y
Hello Stefan, Thanks for fast response. It works like a charm ;)
0
S_Kiryazov
NA 145 0 20y
First, your English if fine. I didn't notice a single mistake I had the same problem and I din't come up with quite a civilized solution but it works. In the javascript method that submits the data I loop through the items in the list box and form a string containing a coma separated list (you'd better not allow comas in the items values (-; ), pass it to the server through a hidden input and then parse it on the server. The code is something like: javscript: function showCity(){ var result = new String(); var resultText = new String(); //alert("we're in"); for(i=0;i