Blog Archives

IE js code best practices

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

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.
June 2017
M T W T F S S
« Apr    
 1234
567891011
12131415161718
19202122232425
2627282930  

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

Join 25 other followers