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 gkittelson 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. jones54

    enable / disable multiple select in a listbox

    Hi, I have a dropdown menu and a listbox on a web page. Depending on the value selected in the dropdown menu I would like to enable and disable multiple select in the listbox. Does anyone know if this is possible using JavaScript? I don't want to have to rebuild the page each time. Many Thanks
  2. jones54

    HTTP 405 Resource not found

    Hi, I have a JavaScript function: function returnNextPage(nextPage) { //alert(nextPage); //document.SearchUser.action = nextPage; document.SearchUser.action = "/AdminTools/unlockUserResearchAccount"; document.SearchUser.submit(); } //--> When I call this function on the submit of a...
  3. jones54

    XHTML and Microsoft Internet Explorer

    Hi, I have just started looking into XHTML recently and I am getting mixed messages from different web sites about Microsoft Internet Explorer's support for XHTML. Could anybody please point me in the direction of something definitive? Does IE display XHTML pages properly? - Any issues...
  4. jones54

    if statement with a logical OR

    Many Thanks for that PH, That seems to have done the trick! You wouldn't believe how long it has taken me to find out that syntax. Would you be able to point me to any good web site which explains all of the logical operators which can be used in unix scripting? Thanks again
  5. jones54

    if statement with a logical OR

    Hi I want to include a simple logical OR expression in an if statement but I cannot find the correct syntax. I have tried pipe (i.e. |) amd -a but can't seem to get either to work. Here is what I have: if [test ! -f "$location/parse.txt" -a $sizeOfParse = "0"]; then I am using #!/bin/sh Could...
  6. jones54

    Microsoft Jet database engine NIGHTMARE!!

    Hi, I have been having intermittent problems with an MS Access 2000 front-end application linked to a SQL Server 2000 database recently. From the switchboard a user was sometimes getting "There was an error executing the previous command". When she closes the application and opens it again it...
  7. jones54

    Check if a file doesn't exist

    Sorry, just after realising what the problem is: the apostrophe in the word "doesn't" was causing some confusion. I have removed it and it is now okay. Thanks
  8. jones54

    Check if a file doesn't exist

    Hi, Could somebody please let me know if the following code is a valid way for checking if a file DOES NOT exist: if test ! -f "$location/parse.txt" ; then echo parse file doesn't exist load_data fi I am using the bourne shell. I have been...
  9. jones54

    Calling SQL Loader from Unix

    Thanks for your help LKBrwnDBA Your first suggestion seems to work. I tried a few scenarios and it returns an error code greater than zero if there is any problem with the SQL Load e.g. primary key violation, incorrect password, incorrect instance name ....
  10. jones54

    Calling SQL Loader from Unix

    Hi, I have a Unix script, from which I call SQL Loader to load data into an Oracle database. I then want to run some more commands after this but only if the SQL Loader insert completed successfully. Is there any way I can tell from my Unix Script whether or not the SQL Loader insert completed...
  11. jones54

    diff command inconsistent

    Hi, I have a log file which is being continuously updated. Being a log file alot of the entries are repeated each time a user performs an action. Note not all lines in the file are time stamped. I take a copy of this log file at x mins and then take another copy of the log file in x + 10 mins...
  12. jones54

    diff command inconsistent

    Thanks a million for that Salem. I am impressed with that solution .. very clever!! I will use your solution but just to clarify something ... if we have 2 files file1: x y z 1 2 3 file2: x y z 1 2 3 y z 1 2 x y z Could diff get confused with the repetition in this file. I would expect...
  13. jones54

    diff command inconsistent

    Hi, I have 2 files: file 1 contains: x y z file 2 contains: x y z 1 2 3 I am using the diff command to compare the 2 files so that I can get the differences between the 2 files. File 2 will always have extra data appended to it so the difference will always be the last few lines. In the case...
  14. jones54

    Submitting a form

    Thanks very much for your help Dan. One thing that is still puzzling me. I have the javascript and html on 2 web servers (production and test environment). It works fine in the production environment - page/action is only called once. However, on the test environment the page/action is called...
  15. jones54

    Submitting a form

    Thanks for your help Dan. Been a while since I have used JavaScript. What do you mean by 'cancel "onsubmit" event of the form itself'??
  16. jones54

    Submitting a form

    Sorry, just trying to keep it as simple as possible.. The complete form is: <form id="prices" method="POST" action="" > <input name="ticker" class="prices-charts" onfocus="if(this.value==' enter company name:')this.value='';setfocus(2);"...
  17. jones54

    Submitting a form

    Thanks Dan, Still a little confused ... The form is as follows: <form id="prices" method="POST" action="" > onclick="return submit_PricesCharts(); </form> The Javascript function is: function submit_PricesCharts() { document.forms["prices"].action =...
  18. jones54

    Submitting a form

    Hi, I have a Javascript function which contains the following condition: else { document.forms["prices"].action = '/public/GenericPublicPage?page=careers'; document.forms["prices"].submit(); return true; } Based on some testing that I have been doing it seems like the each of the lines...
  19. jones54

    Javascript -- setting form action

    Hi Dan, Many Thanks for that. I had another element on the form called action. When I renamed it - that fixed the problem. Your speedy response saved my sanity!! Thanks,
  20. jones54

    Javascript -- setting form action

    Hi, I am having trouble setting the form action in Javascript. I have tried it a few different ways but I am getting the error "Object doesn't support property or method: document.SearchUser.action = '/AdminTools/jsp/private/deleteClientSearch.jsp'; document.forms[0].action =...

Part and Inventory Search

Back
Top