I must admit – I’m neither very experienced in the field of user interfaces nor really familiarised with all that JavaScript, jQuery stuff. I was always thinking of myself more as a service layer guy.
Nevertheless, I wanted to improve my knowledge, so I decided to learn more about something called DWR (Direct Web Remoting). I’ve heard about it few years ago but never actually passed the “yeah, I’ve heard about it” stage.

This will be very basic introduction, so I’m afraid that for those of you who know what DWR is and used it, this article won’t introduce nothing new.

Continue reading

Sometimes you just really want to use the autocomplete feature and omit the HTML form autocomplete=”off”.

To do so, you need to modify following file (the firefox version might, and probably will be, different than the one posted below):

/usr/lib/firefox-3.6.10/components/nsLoginManager.js (in Windows it might be something like C:\Program Files\Mozilla Firefox\components\nsLoginManager.js)

Change this:

_isAutocompleteDisabled :  function (element) {
    if (element.getAttribute("autocomplete").toLowerCase() == "off")
        return true;
    return false;
}

to this:

_isAutocompleteDisabled :  function (element) {
    return false;
}

Or just add comments to the conditional section of the method, to assure it will always return false.