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

i have a field in a form, i need to set it's value when clicking 'Save' button using javascript. I have read somewhere there is a function do_save, but i couldn't find it.

I know i can override create method for this purpose, but i need to do this through javascript

Does anybody know how to achieve this?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 20
2412
1
thg 8 16
5194
0
thg 3 15
4400
1
thg 12 23
4680
2
thg 10 19
9953