请帮我。这不起作用,如何更正此代码?
<html>
<head>
<script src="code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="code.jquery.com/jquery-migrate-1.1.0.min.js"></…; <script src="code.jquery.com/jquery-1.8.3.js"></script>
<script src="code.jquery.com/ui/1.10.0/jquery-ui.js"> ; </script>
<script>
$(function () {
$(document).on('click', 'div:regex(class,x)', function () {
alert("sdfji");
});
});
</script>
</head>
<body>
<div class="x">
XXXXXXXXXXXXXXXXXX</div>
</body>
</html>