# Call javascript function

**URL:** <https://forum.kirupa.com/t/call-javascript-function/196527>\
**Category:** Uncategorized\
**Created:** [August 9, 2006, 4:25am UTC](https://forum.kirupa.com/t/call-javascript-function/196527 "2006-08-09T04:25:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frg10](https://avatars.discourse-cdn.com/v4/letter/f/439d5e/32.png) [@Frg10](https://forum.kirupa.com/u/Frg10)\
**Post date:** [August 9, 2006, 4:25am UTC](https://forum.kirupa.com/t/call-javascript-function/196527/1 "2006-08-09T04:25:46Z")

</div>

Hi.

I am just working on an SCORM course running on LMS and having some problems on calling functions inside a frame. I have 2 framed html file say frames named “menu” and “content”. The menu has generated navigation from the LMS which calls a launchItem() function to shift from page to page. On content, i got the SWFs embedded on html published on SCORM 1.2. What i was trying to do is call the launchItem() function inside my SWFs where i have another menu. My as calling is getURL(“Javascript:parent.menu.launchItem(‘whichItem’)”); and unluckily doesnt work.

Im not sure if its possible that way because the launchItem() function on “menu” frame is calling other functions to work out. I was thinking if it is possible to send something to that frame that could trigger the launchItem() to work.

Any ideas will be appreciated.

Cheers!  
Clyde
