How Do I Bundle JavaScript Files in Web Forms?
Last Updated on Tuesday, 28 May 2013 01:04 Written by David Bauernschmidt Wednesday, 29 May 2013 12:00
The other day I was working on trying to create faster page loading in a .NET project and decided to tackle the idea of minifiying my JavaScript files. After trying tiressley to attach a minify routines to my web site between compiling and deploying I was not happy with the results. I would have to build something in each page to load the .min version if I was in debug but the full uncompressed version if I was testing. It seemed like a lot of work to do with many places that things could go wrong. I then remembered an article about bundling in asp.net but it seemed to relate to a feature in asp.net 4.5. What about 4.0? I was pleasantly surprised to see that you can get this to work with 4.0.
Learn MoreWorking with Selects (dropdowns) in knockout.js
Last Updated on Wednesday, 3 April 2013 06:39 Written by David Bauernschmidt Friday, 5 April 2013 12:00
If you’re like me, I am always excited to try new tools and technologies so in this article I am going to show you how to use knockout.js to bind a dropdown list. It is very similar to non-knockout.js but there is a little bit of a difference. Let’s get started. One quick note is that there are a couple of different ways to do this. If the select name is the same as the value then there is a little easier way to do this, however; in this example I want the name and the value to be different.
Start with creating a jQuery Ajax call. This is pretty much the same as you would for any AJAX method.
Learn MoreA Better “Add to Cart” Animation for Prestashop
Last Updated on Sunday, 24 March 2013 09:44 Written by Fabio Porta Monday, 25 March 2013 12:00
Let’s face it: Prestashop’s default “Add to cart” animation sucks a bit. In this tutorial, I’ll show you how to change it to something more appealing and useful.
Introduction
Learn MoreUnable to Get Value of the Property nodeType While Using Knockout
Last Updated on Wednesday, 13 March 2013 07:10 Written by David Bauernschmidt Wednesday, 13 March 2013 12:00
When I started using knockout.js in my applications I became excited to see the many uses of this library. It took me a little bit of time to realize how to implement it. One reason it took me a while was when I came across this error.
Learn MoreUnable to get value of the property nodeType
How to Get the Value of an Element’s Attribute with jQuery using attr()
Last Updated on Wednesday, 13 February 2013 08:35 Written by Richi González Wednesday, 13 February 2013 12:00
Hello,
Lately that I’ve been working a lot with jQuery, I have noticed how easy and small functions get endless possibilities for improving code. In this article, you will learn how to get the value of any attribute of an element with jQuery using attr()
We will imagine we have the following HTML code:
Learn More
Recent Comments