Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

capturar valor de attr jquery

<span class="ver" id="ver_campo" campoextra="Hola soy campo extra">Hola mundo</span>
<script>
  $(".ver").attr("campoextra");
  $("#ver_campo").attr("campoextra");
</script>
 
PREVIOUS NEXT
Tagged: #capturar #valor #de #attr #jquery
ADD COMMENT
Topic
Name
8+9 =