Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2894 Lượt xem

helo ,can i add onkeyup event in the xml in odoo as follows my js is working but keyup event is not shown in the field when i inspect it?

<xpath expr="//field[

@name

='name']" position="attributes"> <attribute name="onkeyup">titleCase(this.id, this.value);</attribute> </xpath>
Ảnh đại diện
Huỷ bỏ