Set textbox value : Form TextBox « jQuery « JavaScript DHTML
- JavaScript DHTML
- jQuery
- Form TextBox
Set textbox value
<html>
<head>
<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("input[name^='A']").val("data");
});
</script>
</head>
<body>
<input name="Abc" />
<input name="Bcd" />
<input name="Cde" />
</body>
</html>
Related examples in the same category