To select an element with its name attribute in jQuery you can use the snippet below.
Samples
Javascript Sample
$('div[name="de.Fesslersoft.Testname"]').css({"border-color": "#000000", "border-width":"15px", "border-style":"solid"});
if you remove the div in div[name=”de.Fesslersoft.Testname”] you will get all elements with the specific name.
You can also have a look at this JSFiddle.
If you have any questions or suggestions feel free to rate this snippet, post a comment or Contact Us via Email.
Related links:
How to select an element with its name attribute in #jQuery https://t.co/iO8FVptxig #javascript #html #css #webdev
RT @CodeSnippetsNET: How to select an element with its name attribute in #jQuery https://t.co/iO8FVptxig #javascript #html #css #webdev
RT @CodeSnippetsNET: How to select an element with its name attribute in #jQuery https://t.co/iO8FVptxig #javascript #html #css #webdev
RT @CodeSnippetsNET: How to select an element with its name attribute in #jQuery https://t.co/iO8FVptxig #javascript #html #css #webdev
RT @CodeSnippetsNET: How to select an element with its name attribute in #jQuery https://t.co/iO8FVptxig #javascript #html #css #webdev
RT CodeSnippetsNET How to select an element with its name attribute in #jQuery https://t.co/fy4Shwpb8o #javascript #html #css #webdev
How to select an element with its name attribute in #jQuery https://t.co/JOGhy8UYwY #javascript #html #css #webdev
RT nodenow How to select an element with its name attribute in #jQuery https://t.co/fy4Shwpb8o #javascript #html #css #webdev