As I Solve

Bulletproof solutions for the savvy developer.

Month: February 2012

  • Convert Table to Divs with jQuery

    Dynamically converting a table, table row (tr), or table cell (td) to be div-based may seem difficult, but it’s surprisingly simple, if you have a div in each cell containing all its content. Rather than replacing the table, tr or td tags with div, you can use jQuery to create an element after the table, […]

  • Click a Heading to reveal sub-content

    HTML is a markup language that, most essentially, sets the structure of a document. That structure is meaningful, and it’s often abused when web developers do a sloppy job. It’s important for accessibility, readability, and in giving a clear understanding of what is what. With that in mind, I set out to create a page full […]