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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tridom

  1. tridom

    Passing inputs to a child window

    Thanks Dan. I got it all figured out once you mentioned server side. Sometimes just need to talk to someone to spark the ol' brain cells. Javascript enabling is not a problem. The clients are a captive audience, so we can make sure all the machines have javascript enabled. Thanks for the...
  2. tridom

    Passing inputs to a child window

    Hey Dan- think I may have it! I figured out that document.write will write input boxes to the HTML form, so I cna pull the values out of the array into hidden fields and re-submit it server side. The second form should open in the same child window, so it will look like a single pop-up...
  3. tridom

    Passing inputs to a child window

    Haven't given a lot of thought to that to tell you the truth. It needs to be a pop-up window so it allows the first window to stay open. The only reason for the pop-up window is so they can manipulate the form in MS Word (save it to disk, print it, etc.).We've always used window.open to open...
  4. tridom

    Passing inputs to a child window

    Dan, That's my problem. Admittedly, I'm not real experienced with javascript and so I don't know how to reference the array to pull them out. I found the code for passing them to the child window and printing them on screen, but I don't know how to pull them. Here's the code that passes it...
  5. tridom

    double and single quotes in a string

    I have a VBScript function that changes single quotes to a tic mark(`) and double quotes to a double tic(``) if that would help.... Let me know and I'll post it if you want it.
  6. tridom

    Passing inputs to a child window

    How can I pass inputs using window.open from a parent to a child window without using the querystring? I need to pass them to the child window and then get them back into VBScript(or at least HTML), so I can reprint the form in the child. I can get them passed into an array in the child...
  7. tridom

    Radio Button Problem

    Well- here's a way to do it in VBScript- the page submits to itself and totals the score based on their answers. You can write the total anywhere in the page once you have it. Your radio buttons need to be in groups, each button in the group with a different value, but the same name: <%@...
  8. tridom

    Reformat using Javascript

    HA HA! FOUND IT!!! I used this syntax to create and concatenate the sql statement: sql="Insert into tblClient(Last_Name,First_Name,MI,Date_Admitted,DOB,SSAN,DOU,Legal) values "&chr(13) sql=sql&"('"&strLastName&"','"&strFirstName&"','"&strMI&"','"&strAdDate&"','"&strDOBDate&"','"&chr(13)...
  9. tridom

    Reformat using Javascript

    I don't know Jeff. Again I think it may be somehow taking place during the Insert sequence, because I pass the value to another page and it doesn't show up when I response.write the variable or the sql statement. by the way- I even do a trim when I set the variable...
  10. tridom

    Reformat using Javascript

    Dan- if I knew I could fix it. Only thing I can think of is maybe an object of some sort- its just a box that shows up in front of the number when it is inserted in the field. And actually it shows up DURING the insert. I did a response.write on the sql statement and it is not there. (dang- I...
  11. tridom

    How to send form via email (jscript)

    Don't know how to do it in javascript, but if your server has CDONTS enabled, I can give you some VBScript to do it.
  12. tridom

    Reformat using Javascript

    I've got a problem using javascript in the onBlur for a social security number input. The javascript function I am using is as follows: function checkSSN() { var SSN = document.getElementById('SSN'); var nums = SSN.value.replace(/[^0-9]/ig, ''); if (!nums) { return; } if (nums.length ==...

Part and Inventory Search

Back
Top