Text value Speak Automatically on Page Loading in Asp.Net Using JavaScript
Many times, we want to set audio text value on page
load so in this article we will set audio of text values using JavaScript in
asp.net c#
Source Code:-
<%@
Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title> Text
value Speak </title>
<script type="text/javascript">
// Text
Message Speak Using Javascript
var msg
= new SpeechSynthesisUtterance('Welcome to Neeraj Code Solutions, Thanks for visit my
blog');
window.speechSynthesis.speak(msg);
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
Text value Speak Automatically on Page Loading in Asp.Net Using JavaScript
Reviewed by NEERAJ SRIVASTAVA
on
10:19:00 PM
Rating:
No comments: