$(document).ready(function () {
$("a[hreflang|='en']").css({ border: "3px green dotted" });// attribute prefix with
$("a[hreflang~='en']").css({ border: "3px green dotted" });// attribute contains word
$("input[id][name^='man']").val("I start with man kyword");// attribute starts with
$("input[id][name$='man']").val("I end with man kyword");// attribute ends with
$("input[name*='man']").val("I have man").css({ color: "red" });// attribute containanywhere
});
Done :)
$("a[hreflang|='en']").css({ border: "3px green dotted" });// attribute prefix with
$("a[hreflang~='en']").css({ border: "3px green dotted" });// attribute contains word
$("input[id][name^='man']").val("I start with man kyword");// attribute starts with
$("input[id][name$='man']").val("I end with man kyword");// attribute ends with
$("input[name*='man']").val("I have man").css({ color: "red" });// attribute containanywhere
});
Done :)
Comments
Post a Comment