forked from leftypol/leftypol
parent
3725d27e72
commit
bf4fb6d0e8
6 changed files with 68 additions and 2 deletions
12
js/mod/mod_snippets.js
Normal file
12
js/mod/mod_snippets.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* mod_snippets.js
|
||||
*
|
||||
* Javascript snippets to be loaded when in mod mode
|
||||
*
|
||||
*/
|
||||
|
||||
function populateFormJQuery(frm, data) {
|
||||
$.each(data, function(key, value){
|
||||
$('[name='+key+']', frm).val(value);
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue