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: PSFMIS
  • Order by date
  1. PSFMIS

    Const redefined error

    The code below gives me a name redefined error. Could someone explain why this is and if there is another way to do this... Couldn't I define the ALLOWADD first then set TRUE/FALSE? I'm not sure how with this Const. If session("role") = "ADMIN" Then const ALLOWADD = TRUE Else const ALLOWADD =...
  2. PSFMIS

    Problem with AND OR

    I got it working like this.... Now I need to figure out how to only allow a dash if its the first character and only allow one decimal point to be entered. function isNumberKey(evt) { var charCode = (evt.which) ? evt.which : event.keyCode if ((charCode >= 48...
  3. PSFMIS

    Problem with AND OR

    I don't get the syntax error anymore however it does not let me enter the dash, period, or decimal point either... Aaron
  4. PSFMIS

    Problem with AND OR

    I'm trying to only allow number keys, period, decimal point, and dash. Why does this generate an error? Something is wrong with my if statment syntax. <SCRIPT language=Javascript> <!-- function isNumberKey(evt) { var charCode = (evt.which) ? evt.which ...
  5. PSFMIS

    if (X = 'TEST') setting X = TEST ??

    Well what do you know .. just needed one extra equal sign to make it all better. Thanks! Aaron
  6. PSFMIS

    if (X = 'TEST') setting X = TEST ??

    Why would this set the unempyn field on the opener window to the value Y that I'm comparing it to?? Something must be wrong my my syntax... if(opener.document.MainForm.unempyn.value = 'Y'){ } Help, Aaron
  7. PSFMIS

    Send Radio Section back to opener

    I follow... I already have them all named so i think Ill just create one and copy paste / change names. thanks Aaron
  8. PSFMIS

    Send Radio Section back to opener

    Actually that clears it up very well. I was just hoping I wouldn't end up having to evaluate every Radio group since I have 28 of them. Thanks, Aaron
  9. PSFMIS

    Send Radio Section back to opener

    Could you explain this like to me? for(var i=0; i<document.MainForm.Answer.length; i++) -Aaron
  10. PSFMIS

    Send Radio Section back to opener

    I'm new to javascript so that for loop looks a little strange to me.. It's looks like what I had in mind if there was no MainForm.RadioFrom1.selectedValue or anything like that to use. -Aaron
  11. PSFMIS

    Send Radio Section back to opener

    I should clarify. I want to send the radio selection upon clicking a form Submit button rather than onclick for each radio selection. Is this possible? Do I have to use onclick to send the value of each radio button when its selected? Or is ther something like this...
  12. PSFMIS

    Send Radio Section back to opener

    I'm sending a for text field back to a parent window like this: opener.document.Form1.txtField1.value = MainForm.txtField1.value; I also want to send a Radio button selection back... I have not been successful. Could someone help? Thanks, Aaron
  13. PSFMIS

    Download Speed... Response.BinaryWrite

    It allows the page to get and display files that are not in folders accessible to Internet Users. Thanks, -Aaron
  14. PSFMIS

    Download Speed... Response.BinaryWrite

    I'm using the code below in combination with a dll file that displays files via web page links. This method is slower to bring up the files than when I link directly to the files when in the web directory. Is there a way to make this faster? Or is there a different way altogether to secure...
  15. PSFMIS

    Response.BinaryWrite file name Question.

    Wow.. Thats pretty simple. I pass the filename through the link already so I just put that variable at the end of the red text. Response.Addheader "Content-Disposition", "inline; filename=" & FileName I left out the parentheses because I would get the error below with them in when right...
  16. PSFMIS

    Response.BinaryWrite file name Question.

    I'm using Response.BinaryWrite to display some files that are outside of my webfolder and do not have Read permissions with IIS. My question is about the code below. When I open or save files using this code the files are always named BinDoc.asp which is the name of this file. Is there a way...
  17. PSFMIS

    Data not passing to function.

    OH MY ... I had undone my changes so calling the function was not passing both values... Now it works great. Listed below in working order. HTML <input name="sragenttxt" type="text" size="30"> <input name="sragentna" type="checkbox" value="NA"...
  18. PSFMIS

    Data not passing to function.

    cLFlaVA, I get an error with that one... Line 25 Chr 13 Error: 'Undefined' is null or not an object. Hmm .. it looks like it should work... -Aaron
  19. PSFMIS

    Data not passing to function.

    Now I realize I want to pass both the Check Box Name and the Field Name into that function. Could you output your example again if I was to call the function this way? ragentna being the name of the CheckBox. ragenttxt being the name of the TextField. <input name="ragenttxt" type="text"...
  20. PSFMIS

    Data not passing to function.

    Nevermind I just got it.... I'm new to javasript and I was not call the form correctly. <script Language="JavaScript"> function ChkBoxTxtDisable(TxtBoxName){ if(document.MainForm.ragentna.checked) { document.getElementById(TxtBoxName).disabled=true...

Part and Inventory Search

Back
Top