Current location: Hot Scripts Forums » General Web Coding » JavaScript » Accessing/calling javascript in a scriptlet


Accessing/calling javascript in a scriptlet

Reply
  #1 (permalink)  
Old 02-04-04, 06:39 PM
k_a_a k_a_a is offline
Newbie Coder
 
Join Date: Jan 2004
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Question Accessing/calling javascript in a scriptlet

Hi

I have a problem. I need to call a javascript function within the include html of a scriptlet. How do I do that ?

Example in Main.html contain the following object tag :
Code:
<object id="dynamsg" width="100%" style="position:absolute;top:0px;left:0px"            
height="350" data="scriplet.html" type="text/x-scriptlet">
In scriplet.html consist of a javascript function :
Code:
<script language=javascript>
function Hello()
{
   alert('Hello World');
}
</script>
Now, how can I from Main.html call the Hello() function?

Thanks
__________________
Its me and me and me... Its complicated
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
javascript menu covered by java applet shaisachs JavaScript 7 12-28-04 11:38 PM
Macro substitution in JavaScript? victorace JavaScript 1 02-05-04 03:26 PM
Reaaly stuck about javascript over frames muratisik JavaScript 1 12-14-03 11:58 AM
php and javascript together? gamextremer2003 PHP 5 11-06-03 02:18 PM
Forcing a JavaScript to abort HiMyNameIs JavaScript 3 09-18-03 10:23 AM


All times are GMT -5. The time now is 02:03 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.