It seems that we can't define javascript function on xml file;
I wan to know whether we can and how to?
It seems that we can't define javascript function on xml file;
I wan to know whether we can and how to?
<template id="assets_backend" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript">
function your_function(args......)
{
//statements
}
</script>
</xpath>
</template>
thank you very much
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
1
thg 12 24
|
6546 | |||
|
1
thg 10 20
|
6673 | |||
|
2
thg 6 20
|
6620 | |||
|
5
thg 12 17
|
7494 | |||
|
3
thg 1 24
|
19364 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.