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. project3

    Javascript onchange question

    ok I have a form that has time drop down boxes and then tigra calendar. I have a onchange function I have written. basically when everything has a value i want to open another link. It works ok but the only issue is when calendar fills in date input box it doesn't trigger an onchange. how can...
  2. project3

    count certain array items

    I have got it almost figured out i can do it with an array i put in the code but Im having trouble pulling an array out of the input boxes in the html I tried var arr = document.theform.s_active[].value; but that doesn't work how do i pull the array values in?
  3. project3

    count certain array items

    no I want if yes is selected more than 3 times return false.
  4. project3

    count certain array items

    What I have is a form with select box named in array name=s_active[] what I want to do is prevent the form from being submitted if the array has more than 3 values=yes I know how to work with arrays but am unsure how to count only ones with a certain value. Thanks in advance!!
  5. project3

    window opener error.

    I figured out what was wrong. the pop up had an ajax contact selector on it. the script settings for the domain had the domain as www.domain.com i switched it to domain.com and worked just fine not sure why that is but its working hip hip hoooray. Thanks kaht for the firefox extensions that...
  6. project3

    window opener error.

    now i can get it to work inside another popup window thats blank. but i need it to work in the other. why would code work calling a function in one popup and not another?
  7. project3

    window opener error.

    dwarfthrower running this code: if (window.opener) { alert("I found the window opener."); } i get the alertbox with I found the window opener.
  8. project3

    window opener error.

    alert("test1"); var parent_win = window.opener; alert("test2"); parent_win.document.newticketform.opt_userphone.value = 'test'; alert("test3"); i get alert test1 and test2 but not test3
  9. project3

    window opener error.

    ok i have a pop up. and on clicking in the popup i have the following code. if (!window.opener) { alert("Couldnt find window opener. Unable to append email"); } so that means it found it but the minute. I try to do anything with the window.opener it errors. like I tried all kinds of...
  10. project3

    make an input number a number to be added

    I just multiply the string by * 1 to make it a number. I figured that out when the multiplications were working. so like x = x * 1
  11. project3

    make an input number a number to be added

    I have two input values on from a text box and one from select box. I store them as x and y. x = 7.95 y = 5.95 then when I try to add them z = x + y; z becomes 7.955.95 how do I decalre them as numbers.
  12. project3

    adding new table row to parent window

    K ill switch it around but it worked just fine. I tested it and tested it with adding more and more.
  13. project3

    Add values of array

    you are awesome dwarfthrower !! thats what i needed.
  14. project3

    Add values of array

    Ok. me again I know I know. I have input boxes named name[] to make them an array. How would I add the values of the array to get a total. And there will never be the same number in the array. sometimes there may be 3 text boxes sometimes 8. in php I know I can get a count of values in the...
  15. project3

    correct format of string

    thanks.
  16. project3

    adding new table row to parent window

    I did it a little different though. thanks var tbl=opener.document.getElementById('myTable'); var lastRow = tbl.rows.length;
  17. project3

    correct format of string

    I am trying to get the correct format of a string a.innerHTML='<input type="text" name="o_item[]" value="">'; that works fine but i need to add a string in there I thought it was like this a.innerHTML='<input type="text" name="o_item[]" value="' + var + '">'; any help would be appreciated.
  18. project3

    adding new table row to parent window

    ok cool I got that to work. but it always adds at top I understand how to change the variable to get to bottom row. but heres the thing. when the next item is added the row number would change. Ive looked for DOM to count rows but dont see that.
  19. project3

    adding new table row to parent window

    awesome. thank you very much!
  20. project3

    adding new table row to parent window

    yes but how do I create a new row. I only am familar with document write and I know that wont work.

Part and Inventory Search

Back
Top