Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('document').ready(function() {
- */ where the p tag has a clsss /*
- $("p[class]").css("color",#f00);
- */ where p tag has a class or RedText /*
- $("p[class=RedText]").css("color",#f00);
- */ where the p tag has a clsss that starts with Red /*
- $("p[class^=Red]").css("color",#f00);
- */ where the p tag has that starts with Red and an id /*
- $("p[class^=Red][id]").css("color",#f00);
- });
Add Comment
Please, Sign In to add comment