another script i made is having problems with the ID="textbox" , it might be fixed if i change id and start using name="textbox" instead,
but i don't know how to do this in js. need to edit the editor.js and change id="textbox"->to->name="textbox"
can anyone help me? i got no idea how to use the getElementByName thingie , i'm trying to do this for 4 hours already and still no go.

appreciated.

resdog

08-29-2011, 05:58 PM

If you are going to be using the name field instead of the id, you can directly access the element via dot notation:

document.formname.elementname.contentWindow.focus();

madscr2k

08-29-2011, 07:33 PM

could you please give me another example of it ?
so il know where to put it exactly in js file