jjj

jQuery Autocomplete with C#/DotNet

The Autocomplete widgets comes with jquery.ui. It provides suggestions while you type into the field. e.g. If enter ‘A’ in textbox it will display list which is initial character is ‘A’ It is fairly straight forward to implement the autocomplete feature in your C#/DotNet project. The datasource is a simple array e.g. var personList = [“Adams”, “Ana”,…

Read More
jjj

Clear a file field using JQuery

OK, so your end-user clicked on “browse” button and selected a file. Now he wants to remove it from that “File” field and wishes to start afresh, but he can not. And you want to fix this “bug”. You have most likely already visited this awesome discussion on StackOverflow http://stackoverflow.com/questions/1043957/clearing-input-type-file-using-jquery and tried the various solutions mentioned there.…

Read More
jjj

Jquery Confirm Password Validation

Jquery Confirm Password Validation OK, so you have created that fancy registration form and now you want to add a validation where password and confirm password fields match. You add the JQuery validate JS and then you realize that there is no inbuilt function for confirm password in the JQuery validate framework. Follow the steps…

Read More