mercredi 27 avril 2011

For Your Script Loading Needs

Links from 'nettuts+'

(...)As JavaScript usage has skyrocketed over the last few years, so has the sheer number of scripts that are being loaded in an average web page. With these script tags comes a lot of baggage, such as blocking and lack of dependency management.

Today, I’d like to bring your attention to a number of JavaScript loaders, which are mini toolkits that significantly simplify how you add and load scripts.
(...)

http://net.tutsplus.com/articles/web-roundups/for-your-script-loading-needs/

vendredi 15 avril 2011

How to Use the jQuery UI Autocomplete Widget

nettuts+ is really a great site.
This article describes the use of this usefull JQuery plugin in great detail.

JQuery - Polulate forms.

Here is a simple tip to populate a form, found on the great site 'StackOverFlow'
by Eran Galperin

$.each(data, function(name,value) {
    $
("input[name='" + name + "']").val(value);
});

In order to select all the elements comprise 'TextArea' and
 'Select' box  JacobM  suggest to use  $(":input[name=...")

Thanks guy