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 zfs

  1. zfs

    How to detect in whitch <form> an element is?

    Thanks cLFlaVA and also Dan! I knew there was a solution too easy to come to [thumbsup2]
  2. zfs

    How to detect in whitch <form> an element is?

    Thanks cLFlaVA, but I think you misunderstood what I want to acomplishe. I admit, that my description and also english aren't the best, but maybe read the frist post again. I try to write a more complete example that is suppoused to add an additional input field to the same form where element...
  3. zfs

    How to detect in whitch <form> an element is?

    Thanks for that hint. But what if the form has no specified id value? Like this: <form> <input name="test" id="test" value="Form 1 value" /> </form> <form> <input name="test2" id="test2" value="Form 2 value" /> </form> How could I detetct the form in that case? I guess I need to find out...
  4. zfs

    How to detect in whitch &lt;form&gt; an element is?

    Say I have multiple forms in my page and also multiple elements in each form. Now I need this: I know an element's id and I want to get the form's id the element is in. Background: I need this to be able to dynamically add elements (hidden fields) to the same form that the desired element is...
  5. zfs

    How to detect if a page has completely loaded? (I can't use onLoad!)

    Somehow I thought I can't set onLoad in body, because the body is already loaded when the code reaches to the point I'm tring to set onLoad . Abviously thats not the case and ofcourse I can set onLoad in body... So I used the function described in this FAQ and it seems to work just fine...
  6. zfs

    How to detect if a page has completely loaded? (I can't use onLoad!)

    The problem: I need to dynamically assign some params for elements (input fields) on a page when it loads. But I can't do it before the elements are actually there (page has been loaded). I can't use window.onLoad or <body onLoad="func();"> because I have no access to the <head> part of pages...

Part and Inventory Search

Back
Top