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

  1. Lighther

    Popup - Append a Table obtained from the parent window

    Up!!!! Sorry, I haven't found a solution for my problem, please, read again, I need help with this.
  2. Lighther

    Popup - Append a Table obtained from the parent window

    I have done some tests and I can say that cloneNode and appendChild are working propperly, the problem is generated by the object gotten by "window.opener.document.getElementById". I think this object is a html table object but with something additional that makes the appendChild fail. If...
  3. Lighther

    Popup - Append a Table obtained from the parent window

    Well, I have added a try statement and I get an error that refers to the interface used to clone and append the elements. I got the uncompatible interface, err.description. I'll continue testing this. If anyone knows another way or a specific declaration of varaibles to get elements from a...
  4. Lighther

    Popup - Append a Table obtained from the parent window

    No, I'm not creating the table with document functions, the table is written completly in html, obtained by php code. I'll make some additional tests.
  5. Lighther

    Number Select from Dropdown to write number of form fields to page

    Thx for the error, in fact my code is always adding elements, for that we should declare some first steps to empty the div, in case the div elements have child appended, so the code that should be added is: while (myDiv.childNodes[0]) { myDiv.removeChild(myDiv.childNodes[0]); } put this...
  6. Lighther

    Popup - Append a Table obtained from the parent window

    Hi feherke. I have not problems with the cloneNode function, I have tested the script and I know that the error is in the appendChild function. Maybe I have to do something else to append a table element into a div. As I said, the elements appended in the last lines are tables, with a caption...
  7. Lighther

    Number Select from Dropdown to write number of form fields to page

    You must use a function like these called by an onChange Event: //Important: to make this easy, create an empty div element in the place u would like to show the input elements. In this case, my div's id will be "idDiv" function createInputs(){ var myDiv = document.getElementById("idDiv")...
  8. Lighther

    Popup - Append a Table obtained from the parent window

    Hi everyone, I'm having problem getting this work in IE, the code works fine in Firefox. The problem: I'm opening a child window which goes to the parent window to get 2 tables, then I clone them and need to be appended to 2 divs in the child window. The popup is being opening fine. I'm...

Part and Inventory Search

Back
Top