Changes

Jump to: navigation, search

Savefunc

4 bytes removed, 21:34, 5 May 2011
no edit summary
'''Example 1:'''
function savefunc(frm){ { ''do this'' ''RunAnotherFunction()'' ''do that'' return true }
* The following sample [[JavaScript]] function will prompt the [[User|user]] to confirm if they really want to save the record.
<pre>
function savefunc(frm){ var answer = confirm ("Do you really want to save this?") if (answer) { alert ("Consider it done") return true }else { alert ("Keep filling it in then") return false
}
}
0
edits

Navigation menu