خرید بک لینک

<html>
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
</head>

<body>
<input type="text" class="textbox" name="subject">
<input type="checkbox" class="input_control" value="subject">

<script type="text/javascript">
$(document).ready(function () {
$('.input_control').change(function () {
$('input[name=' + this.value + ']')[0].disabled = !this.checked;
}).change();
});
</script>

</body>
</html>

برچسب: نویسنده: محمد رضا جوادیان تاريخ: سه شنبه 25 خرداد 1395 ساعت: 16:32

صفحه بندی