Jump to content

Call Function Of Included Php File


harshpandya

Recommended Posts

Hi guys, I have this iframe called audio in the main.php and i am loading the audio.php in this audio iframe. code to include audio.php in the audio iframe: document.getElementById("audio").src = ../stream/audio.php";Now in the javascript of main.php, i am calling the function of audio.php called startaudio() and its gives error that object expected.I thought ui alredy loaded he audio.php so now i can call any function from that file... do i have to do something like frame["audio"].startAudio();HOw do i fix this? Thanks,

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...