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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by recsx

  1. recsx

    Why wont this work

    I've done it. I've accomplished what i was trying to do thanks to the help of this great forum. Thanks guys. Here is my entire HTML file along with the script. I did not add all 20 lines in the invoice yet but you get the picture, it now works as it should and with the ability to add and...
  2. recsx

    Funtion with Form Elements help

    I've done it. I've accomplished what i was trying to do thanks to the help of this great forum. Thanks guys. Here is my entire HTML file along with the script. I did not add all 20 lines in the invoice yet but you get the picture, it now works as it should and with the ability to add and...
  3. recsx

    Why wont this work

    Ya sorry, just i figured i was not describing it properly the first time and figured i would clear it up a bit. Thanks i think i got all i need for now. I got a reply in the other thread about stripping characters, if i need more help i will post again, but for now i can consider this thread...
  4. recsx

    Why wont this work

    Thanks i figured it out. I also had typos FromIndex was seposed to be FormIndex and FromName was sepose to be FormName. this is what i now have. function ExtendedCalc(FormName,Extended,Price,Qty){ CalcExtended = (Price.value * Qty.value); var CalcExtended = Math.round(CalcExtended *...
  5. recsx

    Why wont this work

    I am trying to make an invoice form. Price, Qty, Extended i have 20 lines, i want to make a function that i can send argument to when the user goes onKeyUp and onKeyDown, i pass this to the function... onKeyUp="PriceCalc(this.form,this.name,this.form.price1.value,this.form.qty1.value)" and it...
  6. recsx

    Funtion with Form Elements help

    Ok i thought it was wrong and knew it looked wrong but thats fine. But this is not the problem. I cant remember how to reference a field to a function argument. function blabla(this,that,andthis) oh do i send a field pointer to this function and call it within the script? e.g...
  7. recsx

    Funtion with Form Elements help

    When i don't put them in i get an error. Man i've been doing allot of PHP for the past few years and have not done much JavaScript, but i sure remember quickly why i hated it. In PHP if you have an error in the code it points it out point blank where the problem is, but with JavaScript and IE...
  8. recsx

    Funtion with Form Elements help

    Sorry i made a mistake in the post. The function should also have the FormName argument in it. I forgot to enter this when i posted this is in my original script. Thanks
  9. recsx

    Funtion with Form Elements help

    Give me a dry run example, cause what i tried did not work. Example function Calculate(FormName,Line,Price,Qty){ // FormName is the name of the form // Line is the extended field e.g. extended1 sent with the argument // Price is referenced to the price1 or price2 field // So on and so on }...
  10. recsx

    Funtion with Form Elements help

    Hi all. I've been raking my brain on this one for days, i know a little of Javascript to get arround, but cant figure this one out. I know what i want to do and i know a little of what needs to be done but what i have is not working. I am trying to make an Online Invoice form for personal use...
  11. recsx

    Disable typing in form fields

    To end this thread with a solution i present you this; <FORM NAME="theform"> <INPUT TYPE="radio" VALUE="aradiobutton" CHECKED NAME="radiobutton" OnClick =getSelectedRadio(document.theform.radiobutton);><BR> <INPUT TYPE="radio" VALUE="aradiobutton" NAME="radiobutton" OnClick...

Part and Inventory Search

Back
Top