-I want to be able to track when a user clicks an imagebutton and save that to a column in a database with the value of "true"
Expand|Select|Wrap|Line Numbers
- <script type=text/javascript>
- var conn
- conn=new ActiveXObject("ADODB.Connection");
- var rst
- rst=new ActiveXObject("ADODB.recordset");
- sql="UPDATE LinkCLick1 WHERE URL= URL"
- conn.Open("Connection string");
- rst.Open (sql, conn);
Expand|Select|Wrap|Line Numbers
- If (page.isvalid and rad1.checked) {
- window.open(pdf1.pdf);
- }
- Else If (page.isvalid and rad1.checked and rad2.checked) {
- window.open(pdf1.pdf) and window.open(pdf2.pdf);
- }
The radio button are not in a group, so more than one can be selected. The use will make their selections, fill out the form, and then click the submit button. Upon submitting, I would like the selected values to automatically download.
**Note, I thought I was under the forums sections when posting. I cannot find where to delete. I would appreciate a mod moving this to the forums section.