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 TouchToneTommy 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: *

  1. chance42

    PERL CGI script waits until complete to write webpage

    I's always those little things.
  2. chance42

    PERL CGI script waits until complete to write webpage

    Thank you KevinADC, that did the trick.
  3. chance42

    PERL CGI script waits until complete to write webpage

    Hello all, I am in the process of rewriting a script that was originally written in ksh, on a Solaris box, then forced to move to a Windows server I began writing it in PERL, due to network restrictions I have been able to move back to the original Unix server... The script itself connects to...
  4. chance42

    Sending data to an existing form

    Thanks everyone for their help, I figured it out. The problem was that I was not passing the data into the function where the form was... If I place the <input....> line outside of the function then it works.
  5. chance42

    Sending data to an existing form

    Sorry for the delay... I do (with this curent code) get an error on Mozilla which reads "document.getElementById("fcheck") has no properties" This Javascript is embeded in a PERL script The PERL works perfectly. Here is the code: (The HTML generated by it all follows) #!/usr/bin/perl -W use...
  6. chance42

    Sending data to an existing form

    One problem with those it that it needs to be a hidden input. Not that it really matters anyway because I still get the same errors listed above.
  7. chance42

    Sending data to an existing form

    Just FYI, Here is the my Javascript in its entirty <script language="JavaScript" type="text/javascript"> function isform() { var shift = "$SHIFT"; var count = document.forms.length; alert("Count is at "+count); if ((count == 0) && (shift == "night")) { alert("PERL worked.")...
  8. chance42

    javascript in perl cgi page

    I have moved to the Javascript forum the thread is titles "Sending data to an existing form"
  9. chance42

    Sending data to an existing form

    Thanks 13sio, Unfortunately neither of those worked. The JS debugger in Mozilla does not show any errors but IE complains with the following errors: When using this document.getElementById("fcheck").value="done"; IE gives this error: Error: 'document.getElementById(...)' is null or not an...
  10. chance42

    javascript in perl cgi page

    No, fcheck is a hidden text variable
  11. chance42

    javascript in perl cgi page

    Thanks arn0ld, This is a sad example of the lack of in-depth knowledge I have with Javascript. I've been testing it in both Moz and IE but the debugger has stopped showing errors... I am currently using document.tasks.fcheck.value = "done";
  12. chance42

    Sending data to an existing form

    Hello all, I am having a problem while attempting to send a hidden input field to an existing for elsewhere in my cgi script. The PERL part works fine, but when I put the following javascript line in, it breaks Where tasks is the name & id of the form. and fcheck is the name & id of the...
  13. chance42

    javascript in perl cgi page

    Sorry folks, It's now a javascript problem. The PERL part works perfectly, there is something wrong with the line: document.forms.tasks.fcheck.value = "done"; I have searched on it quite a bit and I have tried a few different versions of it but it still doesn't work so I guess I will have...
  14. chance42

    javascript in perl cgi page

    Ok I changed my code to: <script language="JavaScript" type="text/javascript"> function isform() { var shift = "$SHIFT"; var element = document.getElementById("tasks"); if ((element == null) && (shift == "night")) { document.forms.tasks.fcheck.value = "done"; }...
  15. chance42

    javascript in perl cgi page

    Whoops, the line if ((element == null) && ($SHIFT == "night")) { really is in both... Mike
  16. chance42

    javascript in perl cgi page

    OK, you couldn't let me live with my crappy way of doing it, and it doesn't take much for me to start messing with things again... first my crappy code: <script language="JavaScript" type="text/javascript"> function isform() { var element = document.getElementById("tasks"); if...
  17. chance42

    javascript in perl cgi page

    Thanks Duncan, My page is a series of many forms that send both regular and hidden data, my problem was that the JS worked outside the form (at least as far as determining when the last task was submitted) but not inside where I needed the hidden input line to be written.
  18. chance42

    javascript in perl cgi page

    Thanks everyone, I had tried Pauls method several different ways but I couldn't get it to work correctly... I have tried a variety of different ways repeatedly for a few weeks sometimes getting different results from the same code. I have found a solution though, it's not as elegant as I...
  19. chance42

    javascript in perl cgi page

    Hello all, It’s time once again to admit that I cannot do everything myself and ask for help. I have created a web based to-do list and have a bit of javascript that will tell when the last Task has been completed no matter the order of completion. The problem I am having is that upon the...
  20. chance42

    cookie read problem

    Thanks philote!!! I was starting to go wiggy. It turns out we have some proxy crap in place to keep poeple from downloading stuff to the server or surfing through the server... Now the hard part is to see if I can get that opened up. Thanks everyone!!

Part and Inventory Search

Back
Top