Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Mugs321
  • Order by date
  1. Mugs321

    Creating Dynamic Classes

    I am using VBScript... Sheco: Your solution works great. Not only that, I've been complaining for a while now about the fact that ASP didn't have associative arrays... guess I was wrong.
  2. Mugs321

    Creating Dynamic Classes

    Hey all, I'm trying to create a dynamic class to handle user permissions on my site. Right now, if I add a new permission field to the db, I also have to create the GET/SET properties in the class itself. I'm looking to have the class created dynamically based on the fields in a specified...
  3. Mugs321

    Printing Window

    hehe.. I gave the iFrame option a shot and I'm running into some problems. The iframe works, the page loads, everything's hunky-dory... Until, that is, I try to print. I started by trying to initiate the print from the page that's loaded in the iframe. That printed the parent page. I...
  4. Mugs321

    Printing Window

    I do have a media="print" stylesheet on the page to be printed and the print displays as it should. However, I want to initiate the print from another page without displaying the page I want printed. As far as I know, this is beyond the scope of CSS.
  5. Mugs321

    Printing Window

    Hey all, Here's the deal... I've got a page with some clickable icons which are used to 'View' a test and 'Print' a test. The 'View' icon opens a new window and the test is displayed. What I want to do is allow the 'View' page to be printed, when the 'Print' icon is clicked, without...
  6. Mugs321

    Form Undefined

    Oops, just re-read your last post cLFlaVA.... You were bang on.
  7. Mugs321

    Form Undefined

    tsuji: While the name of my form was as it should have been, your code did help. I slightly modified your debug solution to read alert(document.forms.length); It showed me that I was short by one form (obviously the first attempt record) which set me well on my way to solving the...
  8. Mugs321

    Form Undefined

    Sorry c, When you said validate, I thought you were askin if there was any javascript validation being run. The validator has some complaints. Most are for javascript, 'nowrap' and ' '. There aren't any for mal-formed HTML. Running a couple of tests revealed the following...
  9. Mugs321

    Form Undefined

    cLFlaVA: There is no validation. The hidden elements are the sole elements in the form (I did it this way so I didn't have to pass any info thru the QueryString) j4606: I've already tried removing the javascript call from my action parameter... same problem, #1 doesn't work, #2+ is fine.
  10. Mugs321

    Form Undefined

    I was using document.getElementById('...') as you've said, however I just tested without document. and the same problem arises. First one produces an error, second+ work fine. Yes, all IDs are from an identity column in my table. Completely unique. As a footnote, the two examples I provided...
  11. Mugs321

    Form Undefined

    Hey all, I'm creating forms (one for each record) dynamically using asp. The forms are named and id'd as "attemptForm_{attemptID}". My problem is that the first records (always the first and only the first) returns an error when I try to submit it. If I use...
  12. Mugs321

    IIS 6 Security Question

    Hey all, I'm havin a small 'debate' with one of my IT guys over the possible holes created by giving IUSR write access to an directory in IIS 6 (Directory Browsing is off and was not 'default' install). As I perform file Copies, Deletes and Moves with ASP, I require the entire directory to...
  13. Mugs321

    Disable ALL Form Buttons

    boy... do I ever feel sheepish... thx
  14. Mugs321

    Disable ALL Form Buttons

    Hey all, I wish to disable all buttons on my page. I would like to do this without disabling all my 'INPUT' elements and without referencing their names as some of them change dynamically. I got as far as: els = document.form1.getElementsByTagName("INPUT"); for (i=0; i<els.length; i++){...
  15. Mugs321

    Problem Parsing Excel File

    Through a little more testing I've noticed the following: The bottom cell only has to be a number (not just a date)... and even if I change that cell to 'Text', the problem still persists. Also, adding an empty row between the headings and the data makes not difference at all.
  16. Mugs321

    Problem Parsing Excel File

    Hey all, I'm creating an Excel import utility using ASP/VBScript and I'm running into a wierd problem. Once I'm in the proper record, I'm trying to parse the row and return the cell contents. Here's the (rough) code: 'Conn string Set oConn = Server.CreateObject("ADODB.Connection") strConn =...
  17. Mugs321

    SQL Injection with RS.AddNew

    I ran it through SQL Profiler and the following happened: -Single quotes were escaped -All other data was entered as was (ie. -- and ; had not effect)
  18. Mugs321

    SQL Injection with RS.AddNew

    Hey all, Is it necessary to run an SQL Injection Prevention routine when adding data to the DB using the RS.AddNew/Update method? I've noticed that even if you write something like: '; drop table xxx; -- ... the text is added, as is, right into the DB. I just wanna make totally sure that...
  19. Mugs321

    Image.width Issue

    Never thought of that... thx
  20. Mugs321

    Image.width Issue

    Hey all, I've found a solution to my problem using a different method but I still don't understand why my method didn't work. I wanted to open a popup window to display a large image (when the thumbnail is clicked) and I wanted the size of the window to be relative to the size of the...

Part and Inventory Search

Back
Top