asp.net_vb.net
Jun 25th, 2005, 10:09 AM
I've implemented a javascript SALT into my asp.net web application.
<head>
<OBJECT id="Speechtags" classid="clsid:DCF68E5B-84A1-4047-98A4-0A72276D19CC" VIEWASTEXT>
</OBJECT>
</head>
<!----> <?import namespace="salt" implementation="#Speechtags"/>
<salt:prompt id="Prompt1"></salt:prompt>
<script language="javascript">
function StartPlayback1()
{
Prompt1.Start("Message will be played");
}
</SCRIPT>
how can i call the javascript function from my VB code to play the message when a condition is met using the If-Else condition?
<head>
<OBJECT id="Speechtags" classid="clsid:DCF68E5B-84A1-4047-98A4-0A72276D19CC" VIEWASTEXT>
</OBJECT>
</head>
<!----> <?import namespace="salt" implementation="#Speechtags"/>
<salt:prompt id="Prompt1"></salt:prompt>
<script language="javascript">
function StartPlayback1()
{
Prompt1.Start("Message will be played");
}
</SCRIPT>
how can i call the javascript function from my VB code to play the message when a condition is met using the If-Else condition?