How can I remove the (// , //) blocks; tags inside a script element in Javascript?
Answers
Answered by
0
am trying to remove script tag from Html Code using JavaScript. Here is the HTML Code :
<script type='text/x-template-handlebars' id='carousel_ui_buttons_next-nav_next'> <button class="next nav" asg-button>{{{button_text}}}</button> </script>
I want to remove script tag so the remaining part would be html only. I mean code should be changed inside browser.
Answered by
0
HTML is defined first and the logic is enclosed inside an optional <script> tag. note: the script tag can not be used when including tag ...
Similar questions