i have created a project with ionic 3
and i want to add some javascript code in one of my html page called. about.html.
i have added the bellow javascript code but it’s not working
here is my javascript code
<script type="text/javascript"> app="www.cricwaves.com"; mo='ExtNotf'; nt="8"; mats =''; tor =''; Width='292px'; Height='170px'; wi ='w'; co ='ExtNotf'; ad="1"; </script><script type="text/javascript" src="http://www.cricwaves.com/cricket/widgets/script/scoreWidgets.js"></script>
gokujy
2
Add your script link in index.html file in after codova.js
<!-- cordova.js required for cordova apps -->
<script src="cordova.js"></script>
//Here your script
<script src=" script path here"></script>
1 Like
but it’s not woorking
here is my code
<script type="text/javascript"> app="www.cricwaves.com"; mo='ExtNotf'; nt="8"; mats =''; tor =''; Width='292px'; Height='170px'; wi ='w'; co ='ExtNotf'; ad="1"; </script><script type="text/javascript" src="http://www.cricwaves.com/cricket/widgets/script/scoreWidgets.js"></script>
sorry i am new in ionic
gokujy
4