X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9dc9cfefd45e66cb4298dd572e3582613ae547a6..12a7cea9c3434848878d1a7b023dd47482cbb9b4:/js/common.js diff --git a/js/common.js b/js/common.js index a89fa02be..953dac7fb 100644 --- a/js/common.js +++ b/js/common.js @@ -147,3 +147,9 @@ function show_alert_and_focus(input_name, errorMessage) { return false; } +function get_input_value(input_name) { + var the_input = document.getElementsByName(input_name); + if (the_input && the_input[0]) + return the_input[0].value; + return ''; +}