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 Chris Miller 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. Albuckj

    Saving web pages to text files with Java????

    Cheers for the information rsfoley, it's much appreciated. I will try this later tonight at home, and I'll let you know how it goes. All the best, Alex.
  2. Albuckj

    Saving web pages to text files with Java????

    Hi, I need a Java program to go to a URL and then save the web page in a text file. I have successfully done this by finding the GetURL method (see bottom of page). But I need to do it for a URL where a standard username and password prompt appears. I know I need to use the following piece of...
  3. Albuckj

    Saving Web Pages to text files with Java????

    Hi, I need a Java program to go to a URL and then save the web page in a text file. I have successfully done this by finding the GetURL method (see bottom of page). But I need to do it for a URL where a standard username and password prompt appears. I know I need to use the following piece of...
  4. Albuckj

    Saving Web Pages with GetURL - usernames/passwords??

    Hi, I need a Java program to go to a URL and then save the web page in a text file. I have successfully done this by finding the GetURL method (see bottom of page). But I need to do it for a URL where a standard username and password prompt appears. I know I need to use the following piece of...
  5. Albuckj

    GetURL needs to incorporate username and password!!!!

    Hi, I need a Java program to go to a URL and then save the web page in a text file. I have successfully done this by finding the GetURL method (see bottom of page). But I need to do it for a URL where a standard username and password prompt appears. I know I need to use the following piece of...
  6. Albuckj

    Accessing select boxes in JS functions???

    I have realised that I can't access a select boxes' text values (using boxname.options[x].text) from within a Javascript function. The only place I can is just surrounding some JS code with the script tags int the body. Even if I put in in a function in the body it can't see it. It says...
  7. Albuckj

    Putting a select list into an array

    This piece of JS copies the contents of a select list into an array, and it works fine: <script> ops = new Array(); var total = document.form1.poss.options.length; document.write(&quot;Select box option numbers: &quot;+total+&quot;<BR>&quot;); for (x=0;x<total;x++) { ops[x] =...
  8. Albuckj

    Select box error

    Hang on, I know the problem now, an i with square brackets around changes everything to italic. I've changed it to x now. Cyberwolf => Can u re-reply with your suggested code? Cheers: <script> ops = new Array(); var total = document.form1.poss.options.length; document.write(&quot;Select box...
  9. Albuckj

    Select box error

    I've noticed that in my original message it missed out any occurance where I wrote 'i' in square brackets, and it turned my text into italic from that moment onwards. Anyone know why? Cyberwolf14 => I think you had the same problem. From a square brackets with an i in onwards, your text is italic.
  10. Albuckj

    Select box error

    This piece of script does exactly what I want it to but it comes up with an error on the following line: ops[i] = document.form1.poss.options[i].text; error = 'document.form1.poss.options[...].text' is not an object poss is the name of my select box. If I put a number in the error line in...
  11. Albuckj

    Passing multiselect box values between webpages

    I am trying to pass multi-select box form values from one web-page to another. Does anyone know how? It's easy with normal form elements, but more difficult when there are lots of name/value pairs all with the same name.

Part and Inventory Search

Back
Top