Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4064 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
2659
1
thg 8 16
5444
0
thg 3 15
4728
1
thg 12 23
5034
2
thg 10 19
10305