Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

getting regular html elements

$
0
0

Hey guys, I'm wondering if anyone could help me with something.

I'm rather new to learning ASP.NE. I'm going through all the stuff on the site when I have time so i'm getting there. I'm a web designer at work so i use projects like this one to learn random things in .NET here and there.

I have a regular HTML table:

<table class="drawings" id="Selected" name="Selected"><tr id="tableHead"><th>Selected Items</th><th>PDF</th><th>Drawing Date</th><th>Required Drawings</th></tr></table>

I have about 7 other tables (different series' of files like A or D or R)
Here is a Row from one of these tables.

<tr><td width="400">(FILE NAME) A-1 Blah Blah</td><td><a href="#">pdf</a></td><td> 07/2009</td><td>None</td></tr>


What I have set up is JQuery, when a row is clicked it will remove it from the current table and add it to the above table(the "Selected" table). Say I have 7 or 8 rows added to the table.

What I want to do is get the Href-(file path) from the <a> tag in each row, ZIP them all up and DOWNLOAD when the download button is clicked.

I've looked all over BFE and back for javascript and even classic asp but I haven't found anything that works.

I've found a couple things that will help with the zipping and downloading i think but I'm not sure how to get the file paths from the hrefs in each row. Examples in C# would be awesome VB just bothers me to even look at.

If it would be easier to change stuff to the server controlls I can do that i'm showing this because its already made. Any help is appreciated.


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>