hie everyone.. I m new to javascript .. I am not able to understand why is it giving meSpeak object undefined..
I have the fragment of html file index.html as shown.
<!DOCTYPE html>
<html lang="en">
<head>
<title>meSpeak.js: Text-to-Speech on the Web</title>
<script>
// This demo is licensed under the GNU GPL.
</script>
<script type="text/javascript" src="/static_files/js/mespeak/mespeak.js"></script>
<script type="text/javascript ">
meSpeak.loadConfig("/static_files/js/mespeak/mespeak_config.json");
meSpeak.loadVoice("/static_files/js/mespeak/voices/en/en.json");
..... ....
meSpeak.js has meSpeak defined.. still it is giving undefined error.. can anyone help me out..