掲示板

Velocity Template

8年前 に Kumari Anusha Kommuri によって更新されました。

Velocity Template

New Member 投稿: 11 参加年月日: 16/01/20 最新の投稿
Hi.. I have a html form in vm file. Can i use Javascript also inside html file?
thumbnail
8年前 に Manish Yadav によって更新されました。

RE: Velocity Template

Expert 投稿: 493 参加年月日: 12/05/26 最新の投稿
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.
8年前 に Ramesh Yelda によって更新されました。

RE: Velocity Template

New Member 投稿: 6 参加年月日: 15/12/30 最新の投稿
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>