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 Nefarta

  1. Nefarta

    Using arrow keys to change <input> value

    Thanks to both of you. Diancecht pointed me in the right direction and theniteowl added two good points. Nefarta
  2. Nefarta

    Using arrow keys to change <input> value

    Good morning all... I have a series of <input>s of type text each containg a string of length 4 representing a time, for example '0930'. I would like the user to be able to change that string using the UP and DOWN arrow keys, so that pressing the UP arrow key would change the string to '0931'...
  3. Nefarta

    Adding an avent handler to a Javascript array of objects

    Tracy: How would you call a separately defined function? For example, given the following code... <script language="JavaScript" type="text/javascript"> var newInput = document.createElement('input'); newInput.id = 'TimeEditInput_' + x + '_' + y + '_OUT'; eval("newInput[\"onblur\"] =...
  4. Nefarta

    Adding an avent handler to a Javascript array of objects

    Wow! It works! Thanks a lot Tracy!
  5. Nefarta

    Adding an avent handler to a Javascript array of objects

    Just did. No luck!
  6. Nefarta

    Adding an avent handler to a Javascript array of objects

    I have a function that creates and returns an array of <div> each containong an <input> object: <style type="text/css"> #divContainer { position=absolute; top: 0px; left: 0px; display: block; } .TimeEditDiv { position:absolute; top: 0px; left: 0px; display: block; } .TimeEditInput {...
  7. Nefarta

    array of &lt;input&gt; ?

    Things are moving along. For some reason I could only access the value of an <input> using the first way suggested: var temp = myArray[0][0].getElementsByTagName('input')[0].value; The other way just would not work. Now how do I attach an event, say 'onMouseOver' to each <input>? I've tried...
  8. Nefarta

    array of &lt;input&gt; ?

    It works! The CreateInputs() function works fine! The array of <div> is created and each one is the parent of an <input>. I can set the properties of both elements, parent and child, WITHIN the function. I can also access/modify the properties of the (parent) <div> objects OUTSIDE the function...
  9. Nefarta

    array of &lt;input&gt; ?

    Thanks Dan. Very helpful. I'll give it a try! Nefarta
  10. Nefarta

    array of &lt;input&gt; ?

    Hey Dan, I need to create a two-dimension array of <div>, each <div> containing an <input> that will allow the user to enter some text (actually some time value formatted like '0930'). The actual number of <div> required changes according to the user but is known when I want to create them...
  11. Nefarta

    array of &lt;input&gt; ?

    Dynamic creation of array of <input> would be great. I already know many of their properties (position, value, etc.). How would you create such an array, and how would you reference them? Thanx
  12. Nefarta

    array of &lt;input&gt; ?

    Hi guys, Is it possible to create an array of elements, more precisely an array of <input> ? Thanx

Part and Inventory Search

Back
Top