How to change colspan? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to change colspan?

I want to change the colspan attribute of a table cell, but it doesn't work. https://code.sololearn.com/WhOemjBD1mkL/?ref=app (JS line 52)

10th Mar 2019, 4:56 PM
C. Scheler
C. Scheler - avatar
3 Answers
+ 1
C. Scheler I don't exactly understand what your code does. Which cell should span? Have you tried case-sensitive: .colSpan ?? I tried two ways: 1. Set the value of .colSpan property 2. Create a new colspan attribute and append it to the cell Check out my code https://code.sololearn.com/WbvJceLvgzTf/?ref=app
19th Mar 2019, 1:26 AM
Pete Wright
Pete Wright - avatar
+ 2
Satnam singh That lesson doesn't really answer my question.
10th Mar 2019, 5:31 PM
C. Scheler
C. Scheler - avatar
+ 1
Thanks, Pete Wright.
19th Mar 2019, 2:29 PM
C. Scheler
C. Scheler - avatar