Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 20
2416
1
sie 16
5195
0
mar 15
4409
1
gru 23
4685
2
paź 19
9963