$() :
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>OnEventHandler</title>
<script src="Scripts/jquery-2.1.0.min.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function () {
$(document).on('click filterEvent', '.action_element', function () {
alert('You Clicked Me!');
});
$('#OrderFilter').change(function () {
$('#CustomerFilter').trigger('filterEvent');
});
$('#CustomerFilter').on('filterEvent', function () {
alert('CustomerFilter filterEvent');
});
});
</script>
</head>
<body>
<p>Some text.</p>
<p class="action_element">Click me!</p>
<select id="OrderFilter">
<option>By Order Id</option>
<option>By Order Total</option>
</select>
<p id="CustomerFilter" class="action_element">Just some Text...</p>
</body>
</html>
$(document).on('event', 'selector').
, - , .
JQM , : , , , () {...}?
, , , , ; ( Google ...), , ? , , (, 4 google ?)
, beforefilter (, 3 , google, yahoo, bing). , , ( , ...)
, , , 250 , , , ... , , 250 ... ? , , ?
, , beforefilter , , . , .on() ( ). , .