I have a main window and a button to launch a popup edit box to add/edit a record from the grid in my main window
I don’t have iframe. I am attaching a HTML string which is generated dynamically similar to the
below. If I type something I want to show when I click button show. how I can access, name & lastname once I type something in the popup.
Also how I can transfer the record to the grid in the myWindow?
function createPopup(){
w1 = myWindow.createWindow(“w1”, 200, 120, 600, 300);
w1.attachObject(‘editForm’, true);
}
function showInput(){
alert(myWindow.window(“w1”).getElementById(“name”).value);
}
Also how I can transfer the record to the grid in the myWindow?
|
function createPopup(){
w1 = myWindow.createWindow(“w1”, 200, 120, 600, 300);
w1.attachObject(‘editForm’, true);
}
function showInput(){
alert(myWindow.window(“w1”).getElementById(“name”).value);
}