掲示板
Velocity Template
Hi.. I have a html form in vm file. Can i use Javascript also inside html file?
Yes you can...inside VM files you can write HTML or CSS or JavaScript
8年前 に Kumari Anusha Kommuri によって更新されました。
RE: Velocity Template
New Member 投稿: 11 参加年月日: 16/01/20 最新の投稿
Can u pls show sample code for javascript function in vm file? I need a java script function to execute on submit of a form in vm file.
Yes, u can add script in .vm file like normal html file. As I think there is no much difference between html and .vm file if you are adding any html code.
8年前 に Shiva Krishna Goud によって更新されました。
RE: Velocity Template
Regular Member 投稿: 110 参加年月日: 15/01/02 最新の投稿Ramesh Yelda:
Yes, u can add script in .vm file like normal html file. As I think there is no much difference between html and .vm file if you are adding any html code.
same as html place at bottom of the .vm file like
<script type="text/javascript">
alert('executed');;
</script>