Tag Archives: toggle

Toggle a Div’s Visibility with jQuery

To toggle an element in terms of visibility, like a DIV for example, is pretty easy with jQuery and it’s ultra nifty toggle() function. Continue reading

Posted in Tutorials, jQuery | Tagged , , , , , , | View Comments

SQL: Toggle 1 and 0 Value in an Update SQL Statement

I tend to use a lot of tinyint columns as controllers for my database-held objects, usually sticking to the convention of 1 means on and 0 means off. In other words, the perfect target for a SQL toggle statement! Continue reading

Posted in MySQL, Tutorials | Tagged 1 or 0, , , | View Comments