$(document).ready(function(){ fono = $("p.telefono").text(); $("p.telefono").contents().wrap(""); });