Add JS code to final HTML response of the template

template:js(js: NULL)

template:js("<script > var modal = document.getElementById('id01'); </script>")
#=> NULL

template:js()
#=> " var modal = document.getElementById('id01'); "

template:js()        
#=> "var modal = document.getElementById('id01');"

Copyright ©2013-2022 SunSed®. All rights reserved.