Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

LABS
Standup 08/24/2009: How do you redefine css classes in javascript?

Ask for Help

“How do I redefine a CSS class in javascript”

You can create a new <style> element and append it to the head. This should probably be avoided if you can help it.

If you simply want to toggle between 2 states, consider putting both sets of rules in the CSS and toggling a class on the body or other container.

*”Should I use BOSH for XMPP on the iPhone?”

Probably not. If you have a long-running low latency XMPP connection, you’ll probably want to use a socket from the CFNetwork package. That’s the most we know about iPhone development right now.

Interesting Things

  • New tracker updates with better burndown charting!

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *