I am trying out the inner windows [using DIV] with javascript for the first time.
On my main page, on click of a button I create a new inner window [ using a javascript function from
http://scriptasylum.com]. Now while using this function, I supply html [6 argument to popUp] that should be displayed in the inner window. The html displays three text boxes and a save button. When the user presses the save button I want to invoke another javascript function with the values of the three text boxes. I am unable to see the values of the textboxes in my function.
Code for creating popUP
---------------------------
function1 createPopUp(){
new1 popUp(200, 100, 300, 175, ('popupID'+123), 'Name.<br><input name=\"name\" value=\"<c
ut value="${report.Name}" />"\> Email.<br><input name=\"email\" value\"<c
ut value="${report.Email}" />\"> UserId.<br> <input name=\"userId\" value="<c
ut value="${report.User}" />" /> <button onklick=edit(name,email,userId);>Save</button>', "white", "gray", "8pt sans-serif", "Modify ", "lilac", "white", "#dddddd", "gray", "black", true, true, true, true, false);
}
Code which is invoked from the pop up
-------------------------------------
function1 edit(name, email, userId){
alert1("Hello"+$name+$email+$userId);
}