code formating

Thursday, February 7, 2013

Ajax search with JSON

Something we use quite a bit on the intranet of the company I work for, it's a piece of Javascript that searches for possible matches as we write on a textbox.

Due to the repetitiveness of the task, I decided to try to make this process as simple as possible and worked out a Javascript function for this purpose. You can find the function in here.

The file is called "textbox_search.js" and the documentation it's written as a multiple line comment just before the function. Just note that there is a dependency on JQUERY.

No comments:

Post a Comment

Programatically walk a CATIA tree in .NET

One of the most basic tasks when automating anything in CATIA, it's usually to walk the whole tree and apply some changes to objects in ...