Micro Question. XPATH
Micro Question. XPATH
Hello everyone I'm new to JQuery but I have a question my script does not work I think the error is in line 13 that no class Pour the link that will be?
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<style>
a.samsung{
color:#CCC;
background-color:#666;
}
</style>
<script src="../jquery.js">
</script>
<script language='javascript'>
$(document).click(function(){
$("a[@href*='mailto:']").addClass('samsung');
});
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
</head>
<body>
<a href="mailto:henryiv@king.co.uk" >alberto</a>
</body>
</html>