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
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
1
dic 24
|
6567 | |||
|
1
ott 20
|
6680 | |||
|
2
giu 20
|
6648 | |||
|
5
dic 17
|
7505 | |||
|
3
gen 24
|
19391 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.