Set disabled input value
Description
The following code shows how to set disabled input value.
Example
<html>
<head>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {<!-- ww w . jav a 2 s. co m-->
$("input:disabled").val("data");
});
</script>
</head>
<body>
<form>
<input name="email" disabled="disabled" />
</form>
<div></div>
</body>
</html>