React.js: fill options of Autocomplete with API results

Posted in IT StuffTagged ,

The autocomplete is a normal text input enhanced by a panel of suggested options.  Autocomplete is a feature that helps in predicting the rest of the word typed by a user. Autocomplete is helpful from the user as well as the user experience perspective. It makes users happy by saving their time and also by….

Make jquery function run on page load

Posted in IT StuffTagged

Load jQuery when the HTML document is loaded: $(document).ready(function() { // business code });$(document).ready(function() { // business code }); Load jQuery when all the images on a page have also loaded: $(window).load(function() { // business code });$(window).load(function() { // business code });

Change Eclipse settings to ignore jquery errors on a specific file

Posted in IT StuffTagged , ,

In my dynamic web project in eclipse, I have jQuery in my js source folder. For some reason, Eclipse is not handling it correctly and interpreting many lines as errors in the standard jQuery file (even though I have the javascript development tools installed). I have found that I can leave the JavaScript Validator enable….