Link Details

Link 869469 thumbnail
User 225256 avatar

By mswatcher
via css.dzone.com
Published: Oct 26 2012 / 11:26

I apologize for the link bait. I feel bad doing it. But at least you know I'm not a slimy SEO person and there is something useful in this article. ;) Yesterday I blogged a simple little POC (Proof of Concept) that demonstrated adding a class to a random list element. As I said in the post yesterday, this was rather trivial code, but I wanted to share it because of the use of LocalStorage.
  • 18
  • 4
  • 1428
  • 1851

Comments

Add your comment
User 1064321 avatar

GilbertBates replied ago:

0 votes Vote down Vote up Reply

I'm glad I am not the only one who would like to see the bloat from jquery being used to reduce 12 lines of code to 6. When you have a big complex piece to do jquery makes sense. when you are just tweaking a little it does not make sense to bloat the pages.

User 349290 avatar

eggbert replied ago:

0 votes Vote down Vote up Reply

Any overhead of jQuery is negated if you include it from a cdn. (http://code.jquery.com/jquery-latest.js) Your visitors will already have it in their cache 90% of the time. So I will disagree and say using jQuery is almost always a better option.

User 983885 avatar

infovation_Softwares replied ago:

0 votes Vote down Vote up Reply

not everyone has a Mbps connection, hell with JQUERY, we need something that complies /selects JS specific for a PAGE

User 828609 avatar

hasokeric replied ago:

3 votes Vote down Vote up Reply

you should write an article on "Stop using bootstrap all the time" it displays lack of creativity, laziness, unprofessional-ism and more

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Java Performance Optimization
Written by: Pierre-Hugues Charbonneau
Featured Refcardz: Top Refcardz:
  1. Design Patterns
  2. OO JS
  3. Cont. Delivery
  4. Java EE7
  5. HTML5 Mobile
  1. Node.js
  2. Debugging JavaScript
  3. OO JS
  4. JSON
  5. Ajax