Unable 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 a String’s Length with Javascript
Last Updated on Friday, 8 February 2013 04:29 Written by Richi González Sunday, 10 February 2013 12:00
Hello,
Learn how to get a string’s length with a very simple Javascript property: length. This is really useful when you want to do, for example, field validations with JS; you evaluate the length and then do something.
Learn MoreHow to Make JS Code Execute After the Page has Finished Rendering (Website Optimization)
Last Updated on Wednesday, 9 January 2013 12:00 Written by Richi González Wednesday, 9 January 2013 12:00
Hello,
When I’m creating a website, I try to make it load as fast as possible. I have read lots of techniques on how to achieve this, and the one that is effortless and free to make it, is having JS code run after the DOM is ready.
1. Open the file where your JS code resides. For this article, I will have the following code between my <head> tags:
Learn MoreHow To Dynamically Change CSS Properties of Elements with jQuery
Last Updated on Thursday, 3 January 2013 12:00 Written by Richi González Thursday, 3 January 2013 12:00
Hello,
Did you know you can change elements’ CSS properties dynamically with jQuery? Well, yeah! You probably want to change an element’s opacity when a button is clicked to make it look like it is loading, for example. There are lots of uses this function can have, you set your own limits!
Learn More[HOW-TO] Insert JavaScript and CSS code in a Smarty template engine powered website
Last Updated on Tuesday, 15 March 2011 04:05 Written by Richi González Sunday, 13 March 2011 06:19
Hello,
I know there are a lot of people that wonder how to insert a piece of JavaScript script found on the internet or maybe a little cool CSS effect in their Smarty powered website. This guide works with Clip-Bucket, as it uses Smarty template engine.
Difficulty level: Easy
Learn More
Recent Comments