• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

call one jsp's java script function to another jsp's javascript function

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
 
reply
    Bookmark Topic Watch Topic
  • New Topic