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

  • Users: milams
  • Order by date
  1. milams

    Trouble with a function

    Thanks again cLFlaVA
  2. milams

    Trouble with a function

    Thanks cLFlaVA, That worked. Do you know of any kind resource that gives good explainations of functions? Because the books that I've read don't really go into depth about Functions.
  3. milams

    Trouble with a function

    Hi, I wrote this function and the function works as long as I pass along the input fields that it needs to run the function. I've been looking at function examples and I see a lot of using "this" in the function argument. I try to do this and it never works. It always says that "Object...
  4. milams

    Trouble with a function

    Hi, I'm a newbie when it comes to JavaScript. I'm trying to write a script where I have some hidden fields from a form. These fields are shipping prices. What I want to do is in the field item_quantity_1, when a new number is input in there I have an onchange command. That command triggers...
  5. milams

    Trouble displaying results

    Hi everyone, I am some what new to JavaScript and I'm having a problem displaying my results from a function. The function is working, but the problem is that I have a form with a dropdown list that is a quantity field. What I would like it to do is when the user selects a number in the...
  6. milams

    Passing form data to a function

    Thank you, I knew I was missing something, but couldn't figure it out. Thank again for your help
  7. milams

    Passing form data to a function

    Hi All, I'm not that this can be done in JavaScript, but what I'm trying to do is have a dropdown list with numbers in the list representing a quantity. I put an "onchange" on the dropdown list: <script language="javascript"> var qty = document.testform.element.qty.value; function testfor(){...
  8. milams

    Form Margins

    I'm kind of new to CSS. Is there a way to get rid of the margins that are in forms?
  9. milams

    Trouble creating tables

    I tried it, but then I don't think I have the right syntax. <?php $createlog = "CREATE TABLE login (cusid int(11) NOT NULL primary key, sportid VARCHAR(25) NOT NULL, cpswd VARCHAR(15) NOT NULL, fname VARCHAR(25) NOT NULL, lname VARCHAR(25) NOT NULL, email VARCHAR(50) NOT NULL)...
  10. milams

    Trouble creating tables

    Thanks guelphdad, That makes sense, but I can't get the ALTER Table command to work. I don't think I have the right syntax. <?php $alterlog = "ALTER table login SET cusid auto_increment=2000"; ?> I've tried CHANGE, MODIFY, ADD, just about every thing I can think of and I still can't get...
  11. milams

    Trouble creating tables

    Oh ok. Thanks I tried it and it worked. Thanks for your help.
  12. milams

    Trouble creating tables

    Hi, I'm trying to write a PHP script to create a MySQL table. When I try to run the script, it won't create the table. I noticed that it will create it if I don't put "auto_increment" or "Primary key" in the script. If I take those two things it works great, but when I try to put that in, it...
  13. milams

    A Simple question

    That works a lot better. Thanks cLFlaVA.
  14. milams

    A Simple question

    I have a href link where I want to open a pop up window when someone clicks on the link. Ive tried it this way, but the parent page would change and say [NULL]. <div class="abs"> <a class="emaillink"...
  15. milams

    Auto-populate a field from another field

    Fantastic! That was a lot of help. Thanks again cLFlaVA.
  16. milams

    Auto-populate a field from another field

    Hi all, I was wondering if anybody would know where I could find some examples of JavaScript code for auto-populating a text area field when an item from a drop down list is selected. I want to be able to take information that is selected from the drop down list and automatically put it in a...
  17. milams

    Simple MySQL Question

    Thanks, That's what I thought. I have it set that way, but it will still insert the record.
  18. milams

    Simple MySQL Question

    Hi All, I have an "INSET INTO" question. When I want to insert data from a form into my database, do I have to list all of the columns that are in the database? And do they have to be in order, the way that they are listed in the database.
  19. milams

    Variable in Javascript

    Thanks BillyRayPreachersSon, I understand it now and it works. Thanks again.
  20. milams

    Variable in Javascript

    Hey I'm sorry, but I'm new to Javascript so I don't know what some that stuff means like "formObj.action". I think I understand the function and what it's doing, but writting the result based on if the checkbox is check or not is where I get confused. Under action"someotherfile.htm", why...

Part and Inventory Search

Back
Top