Search
 
SCRIPT & CODE EXAMPLE
 

HTML

cambiar valor de atributo colspan jquery


<script type="text/javascript" >
	// cambiamos el valor del colspan
  	$("#nombres_dni").attr("colspan", 2);
</script>

<table>
  <thead>
    <tr>
      <th>#</th>
      <th colspan="1" id="nombres_dni">Nombres/DNI</th>
      <th>fecha</th>
    </tr>
   </thead>
   <tbody>
     <tr>
       <td>1</td>
       <td>Junior Cercado Vasquez</td>
       <td>78738239</td>
       <td>21-02-2022</td>
     </tr>
  </tbody>
</table>
Comment

PREVIOUS NEXT
Code Example
Html :: nonce in script tag 
Html :: how to change the postion of text in html 
Html :: basic steps convert design into html 
Html :: place autocomplete showing city and country only 
Html :: customer details pay button code 
Html :: navratri 2020 
Html :: label input mdn 
Html :: what is class attribute in form 
Html :: block media keys from html audio pause 
Html :: cara mengatur ukuran gambar navbar-brand 
Html :: hoe to make a html page attractive 
Html :: marquee attributes 
Html :: Boot Strap loader 
Html :: how to add different components in the same page in angular 
Html :: picture html tag 
Html :: display sqlite text with jinja as HTML paragraph 
Html :: Accesing element using tag 
Html :: pros/cons of using `.createElement()` and `append()` vs. `.innerHTML`? 
Html :: repolace html jaquery 
Html :: allow geolocation local development 
Html :: html challenges 
Html :: notion general mention? 
Html :: java.rmi.connectexception: connection refused to host: 127.0.0.1 
Html :: typo3 params lost pagination 
Html :: rb_dash-2 
Html :: javaprov 
Html :: open a website within a website 
Html :: top js graphql clients 
Html :: how to remove the .html from a website 
Html :: c++ compile syntax error 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =