First of all, let me say I am new to this forum.
It has been a while since I attempted any programming. I have used vb.net, HTML, vbscript, and javascript in the past.

Here is my problem.

I am wanting to make a web page with pictures, under the picture will be a checkbox. At the bottom of the page there will be a print button. The pictures on the site(which is an intranet) actually represent excel(.xls) files. If a checkbox is checked, when the print button is pushed it will print that file. I want to keep it simple.

Basically, I am wanting the print button to call a function like:
<input type="checkbox" name="C1" value="ON">Check to
print</p> //checkbox HTML
<input type="button" value="Print" name="btnPrint" onClick="printfiles()">

the function

sub printfiles()
var box1= val(chkValue1) //value1 being a boolean(true/false) gotten
from the HTML page, etc.
if box1 = True then // if box is check then print Excel document.
if box2 = true then

I am probably making it to complicated, just can't remember how to do this.I could probably do this in VB.net rather simply, but as stated above it is on a intranet web page.

is this possible?If so, can I get an example.

Thank you.

11 Years
Discussion Span
Last Post by Techscrip
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.