Rajesh Pillai

My experiments with asp.net mvc, jquery, wpf, silverlight, sharepoint, tdd and design patterns.

  Home  |   Contact  |   Syndication    |   Login
  44 Posts | 2 Stories | 36 Comments | 0 Trackbacks

News

Twitter












Tag Cloud


Article Categories

Archives

Post Categories

business

jQuery

jquery learnings and experimits, tips tricks and cookbook...
This is my first blog post on my home domain http://rajeshpillai.tekacad... and in this series of posts I will explore various facets of JavaScript language that will help us become better programmers. The idea is tear apart the language and understand how to use the features and build libraries like jquery, knockoutjs, backbonejs.The idea is not to replicate this libraries, but understand the inner workings using better JavaScript coding practices, design principles and thereby make the web ......

For more info refer the below post

 

http://blog.jquery.com/2011/05/12/jquery-1-6-1-released/

 

Some great improvements and fixes.


jQuery fundametal online book  is available at http://www.rebeccamurphey.com/jqfundamentals/book/release/html/

Enjoy :)

 


Its been long due I was planning to write an article on creating some useful ASP.NET MVC application. I have code named it "DailyJournal". Its a simple application which allows creation of multiple activities and assign tasks to these activities. Its' kind of "Yet another Task/Todo application". The credentials which you can use with the attached demo application is shown below. Collapse Copy Code User Name : admin Password : admin123 Framework/Libraries Used ASP.NET MVC jQuery + jQuery UI (for ajax ......

jQuery 1.4 released. You can find more info at http://api.jquery.com/categ... Also celebrate jQuery 1.4 release with 14 days of jquery at jquery14.com/pre-release-1 Learn about 15 new features of jQuery you must know net.tutsplus.com/tutorials/... Enjoy jQuerying ......

Lets quickly have a look at how you can limit the entry to textbox and display the character input left to be keyed in. First things first, the script. <script type="text/javascript"> $(function() { var limit = 250; $('#dvLimit').text('250 characters left'); $('textarea[id$=txtDemoLimi... { var len = $(this).val().length; if (len > limit) { this.value = this.value.substring(0, limit); } $("#dvLimit").text(limit - len + " characters left"); }); }); </script> The $() ......

Prototype This time we will have a basic prototype ready for the public website. The design will be kept simple so that we could concentrate on the main task at hand. Later on we will enable theming,so that the user could customize the blog to their heart's content. The landing page looks like in the figure below. Create a "Blog" folder under the "Views" folder in the website. Add an aspx and copy the below markup and name it "List.aspx". <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Sha... ......

Welcome back. This time we will look at creating a simple jquery pager plugin to use with asp.net mvc project. Please note the intent is to learn the basics of jquery plugin development. The control as such is not recommended for use in production environment. I recommend having a look at the jQuery Authoring Guideline at docs.jquery.com/Plugins/Aut... Let's begin our journey into the mystery of jquery plugin. The first step is to create a self executing anonymous function. Anonymous functions ......

Welcome to the 2nd series of building a blog engine. In the first part we have laid out the foundation for this application and modeled the DB structure for quick mockup. You can read the first part here lets-build-a-simple-blog-en... One thing I missed to mentioned in the first part is the we will be using the excellent ELMAH for error logging. This is a pretty cool module which hooks up to the system and logs all exceptions without writing a single line of code. You can read more ......

Welcome to eBoard Hello and welcome to this series of application development using asp.net mvc, jquery, automapper, ninject. Though the world doesn't need another blog engine, but sometimes reinventing the wheel teaches you many unknown things and it's the learning experinece that counts more than anything else. I have been using asp.net mvc + jquery for about a year now. So, it's time to put down something which will help the beginner with this technologies get a good graps of the fundamentals ......

Let's try a simple in-place edit with jquery. For demonstration purpose I am using the plain old HTML file. However, if you, wish you could apply the same technique to asp.net, asp.net mvc or php or any other web application as well. Here is the html that we will be using for the demo. <body> <div style="line-height:3xm;back... Double Click the below paragraph to edit. </div> </br></br> <div class="edit"> Lorem ipsum dolor sit amet, consectetur ......

This edition of blog tip shows you how to focus a text input on a page to the desired element. Use jsbin.com for executing/troubleshooting or just for learning jquery or any other popular js framework that it supports. I'll show two ways to do this based on the scenarios you encounter. Using jQuery $(selector).focus method when the DOM is ready: // When the HTML DOM is ready $(function() { $("#elementId").focus(); }); The above works in most cases but may be annoying in situations you have a slow ......