Most of the functions in script tag are not available in scriptlet tag ? Could any explain why the coding in scriptlet tag is different than script Tag
"script" is an HTML tag used to include JavaScript on a web page. JavaScript interpreted by the browser Engine (V8 - in Chrome). It runs on client side directly in web browser.
Example:
,etc.. Example : Login
While ----
"Scriptlet" is a script page construct used to include to run on server like EJS on NodeJS. it is used as <% %> as in EJS. EJS scriptlet is executed on the server and needs a server side support platform like Node JS
Example: