X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/5b22b6b5b7dbb290048cd15b3ede7d18cba4d09c..03ea97647e3fbdea4323f4f2136bdfa87cb15c1b:/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 ''; +}