Here is the code
<input name="man-news">
<input name="milkman">
<input name="letterman2">
<input name="newmilk">
and jquery for that is
$(document).ready(function () {
$("input[name*='man']").val("I have man").css({ color: "red" });
});
Done :)
<input name="man-news">
<input name="milkman">
<input name="letterman2">
<input name="newmilk">
and jquery for that is
$(document).ready(function () {
$("input[name*='man']").val("I have man").css({ color: "red" });
});
Done :)
Comments
Post a Comment