Blog Archives

IE js code best practices

BAD for IE: for (i in variable) GOOD: for (var i=0; i <variable.length;i++) Advertisements

Tagged with: , , , , , ,
Posted in Javascript, Tips And Tricks

Jquery live and bind function

live: use this when u are attaching event on dynamically created object or element bind: use for normal document ready things details : http://www.alfajango.com/blog/the-difference-between-jquerys-bind-live-and-delegate/ careful: live dosen’t work with . or : in id of element, details: http://forum.jquery.com/topic/live-method-does-not-work-if-selector-has-dot-character try here:

Tagged with: , , ,
Posted in Uncategorized
Disclaimer
All content provided on this "tareqalam.com" blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner of [tareqalam.wordpress.com] will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.
December 2017
M T W T F S S
« Apr    
 123
45678910
11121314151617
18192021222324
25262728293031

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 23 other followers