Archive

Posts Tagged ‘jQuery’

jTemplates – jQuery Template Engine

October 4th, 2009 Xander 7 comments

About a year ago i had to architucture some web application with a very rich client side UI.

ASP.NET was an easy choise for a server side code, but what about client side ?
The heavy viewstate, endless event handlers and infinity number of server side requests just to make the GUI  friendly – well, it just didn’t sound as a proper way to do it.

Read more…

VN:F [1.9.3_1094]
Rating: 4.9/5 (10 votes cast)

Javascript function context, “apply” method and lost “this” object

July 12th, 2009 Maxim 3 comments

How many times you had problem or were asked about what happened to this object in your function? Or why this is not an object you expect it to be? Probably these times you have to remind yourself or your fellow programmer about function context.
First of all I have to ask you all a pretty lame question. If you write function in JS block right inside your HTML, what this keyword will refer to?

<script type="text/javascript">
		function testThis(){
		  //who is "this"
		}
</script>

And now to the real example.
Read more…

VN:F [1.9.3_1094]
Rating: 4.9/5 (8 votes cast)

Categories: JavaScript, Tips & Tricks

IE Memory Leak – jQuery Fix

July 11th, 2009 Xander 39 comments

I suppose all of you have suffered all those terrible memory leaks in Internet Explorer.
Sometimes it’s bearable, but most of the time it’s not. I say enough is enough !

Read more…

VN:F [1.9.3_1094]
Rating: 4.3/5 (13 votes cast)

SEO Powered by Platinum SEO from Techblissonline
watch free movies