sergiozoumenou
06-22-2009, 09:58 AM
Hi every
I need a help.
I have window containing a field.
I was looking for a way to copy the value in the field and at the same time close the window.
For copying i use this onclick="return copy_clip(document.forms[0].num_alladaid_{num_allada:rowNumber}.value) it worked perfectly.
To close window i cleaned the copying code and insert this : 'javascript:window.close();' it worked perfectly too.
But i don't know how to put the 2 codes in one line so that on click the button will copy the field value and close the window
I need a help.
I have window containing a field.
I was looking for a way to copy the value in the field and at the same time close the window.
For copying i use this onclick="return copy_clip(document.forms[0].num_alladaid_{num_allada:rowNumber}.value) it worked perfectly.
To close window i cleaned the copying code and insert this : 'javascript:window.close();' it worked perfectly too.
But i don't know how to put the 2 codes in one line so that on click the button will copy the field value and close the window