• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to make js function call?

 
swapnil paranjape
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i make a call to javascript function written in some other html page from existing page.

for example in one html page i using button and onclick event i want to use javascript function written in some other html page.
how should i do that?
 
Niki Nono
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if the page is loaded then you can call it using
parent.OtherPageName.FunctionName()
Do keep in mind that the html page needs to be loaded in you current page.
This can be achieved using frames.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic