| Author |
call one jsp's java script function to another jsp's javascript function
|
Nimish Patel
Ranch Hand
Joined: Jun 29, 2005
Posts: 84
|
|
hi, have a good day friends....... now i have one jsp page. in this jsp page i have a java script function name like "addrows()". in this jsp page one radio button, when click on radio button, pop child window(another jsp page). in this child window, one add row button. when i click on this button, addrows()(parent jsp's java script function) should be called. parent window jsp page addrows() is working fine. no problem with this function. so how can i called parent jsp's javascript from child window jsp ? please give some advise. thanks in advance. rgds, nimish
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
When you say 'child window', do you mean a frame/iframe or a popup window. If the child window is a frame or iframe, you would use: If by 'child window' you mean a popup window, you would use:
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: call one jsp's java script function to another jsp's javascript function
|
|
|