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 wOOdy-Soft 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: Coogan
  • Content: Threads
  • Order by date
  1. Coogan

    Problem with form posting

    Hello, Can anyone see why this piece of code is not working. Sometimes the page looks as if it is posting the data but nothing appears in the table "request" and then there are other times when i get "Notice: Undefined index: id" Any suggestions?? <? if(isset($_POST['post'])) { $name =...
  2. Coogan

    Request Method Error

    Hello all, I am having a problem with the below script and im not sure why. The error message that I am getting is: Notice: Undefined variable: request_method in C:\Program Files\Apache Group\Apache2\htdocs\fns\login.php on line 49 However this code is working fine on a hosted site and not...
  3. Coogan

    Getting NT Username

    Hi folks, Hope you can help me on this. What I am trying to find out is if it is possible to get an NT username through javascript. The codeing that I have found so far does not seem to work. The code that i have is: <script language="javascript"> function getdata() { var username =...
  4. Coogan

    Opening a page to a particular point

    Hi Folks, I need some help with some thing that is probably quite basic! I have a page that contains images. On another page I have details that relate to each of those images. What I want to do is when I click on an image I want to open the details page and get it to go to a particular point...
  5. Coogan

    Convert String to Integer

    Hi Guys, Can some one tell me how to convert an Integer to a String. Basically i used the parseInt() command to convert a string to an integer so that I could add a value to it and I now need to change it back to a string so that I can use it as a 'select' option value. Thanks Martin
  6. Coogan

    Changing a value in a html file

    Hi Guys, I have asked this question in the PHP forum and been directed here. I am trying to find out if it is possible to change a line of html code in another webpage by clicking a button. Basically I want to change a value on index.htm when i cilck a button on admin.htm The value that I...
  7. Coogan

    Changing a line of code in html

    Hi Guys, I am trying to find out if it is possible to change a line of html code in another webpage by clicking a button. Basically I want to change a value on index.htm when i cilck a button on admin.htm Is this possible? If so can someone please point me in the right direction. Thanks Martin
  8. Coogan

    Problem with duplicate function

    Hi Folks, I have a problem with the section of code below. The function populate works fine but the function populate2 generates the error 'length is null or not an object' Any ideas on why this is happening?? function populate() { var box = document.forms[0].first; var number =...
  9. Coogan

    onKeypress Error

    Hi Folks, I have been working on getting a small bug sorted on my site an I am having some troubles. What I am trying to do is, if someone presses enter in a textbox I want it to perform an action, like open another page. The function code is: <script language="JavaScript"><!-- function...
  10. Coogan

    Help with textbox

    Hi all, I have a textbox in on one of my pages and I have a small problem. If anyone goes to that page and types something in to the text box and then press's enter the page resets. Is there anyway that I can get it so that if enter is pressed in the text box then it does an action like open...
  11. Coogan

    Sending form data as CSV.

    Hi Folks, I am looking at designing a web form that captures data and then emails me the data in a csv file. 1. Is this possible? 2. If it is then are there any good articles on how to do it? The site will be hosted on a Microsoft 2000 server so if I have not posted this in the right forum...
  12. Coogan

    Getting a web form to output a CSV file

    Hi Folks, I am looking at designing a web form that captures data and then emails me the data in a csv file. 1. Is this possible? 2. If it is then are there any good articles on how to do it? Many thanks.
  13. Coogan

    Can a form output a CSV file?

    Is it possible for a form to create a CSV file from the data it has collected and email it to a designated email address?? The emailing part aint a problem but I can seem to find any articles on getting a form to create a CSV file. If any one can point me in the direction of some useful...
  14. Coogan

    Checking that a folder exists

    Can anyone help me with this 'If then else' statement. I want to check that a folder exists and if it does then it opens that folder in a new window and if it doesn't exist then I want it to open an error page in the current window. if (this.form.url.value exists) then window.open(...
  15. Coogan

    Checking that a folder exists

    Can anyone help me with this 'If then else' statement. I want to check that a folder exists and if it does then it opens that folder in a new window and if it doesn't exist then I want it to open an error page in the current window. if (this.form.url.value exists) then window.open(...
  16. Coogan

    List folder contents as hyperlinks

    Does anyone know how I would get javascript to list the contents of a system folder as hyperlinks on a page?? This needs to be done without ASP as it is for a local intranet and it does not support ASP. Any help or pointers would be greatly appreciated. Cheers
  17. Coogan

    Textbox to URL

    I am using the following code to get a variable from a text box to a url: <input type="button" onclick="document.location = this.form.url.value;" value="Login"> The problem that I have is that I would like the target link to open in a new window as at the moment it opens up into a frame. Any...

Part and Inventory Search

Back
Top