I have a showCustomersList()
javascript function in FunctionBag.js
now I want to call that开发者_如何学运维 function in onchange event of the springs <form:select onchange="">
tag in a jsp file.
How can I do that?
This is how we do it in 2011. use Jquery
$('#yourFormId select').change(function() {
showCustomersList();
});
This should work
<form:select onchange="javascript:showCustomersList();">
精彩评论