[Solved] Is it possible to define a function in tag of and call it form the tag

[ad_1]

No not possible. Browser only understands javascript within the <script> tag.

[ad_2]

solved Is it possible to define a function in tag of and call it form the