Archives for “JavaScript”
If you are a web developer, maybe this post title doesn’t say nothing new to you. But I’m really really tired of IE annoyances. Today I worked extra hours on an ajax problem with IE. The page I was working on has an ajax call like this one: <div id="LoginForm"> </div> <script type="text/javascript"> new Ajax.Updater('LoginForm', [...]
Recently I discovered that Firefox lets you override alert and confirm window object methods. I tried this with prototype and surprisingly it just worked! (Note that it is not tested in IE or Opera and others yet, but it also works in Safari). <div id="test" style="background:red;color:white;display:none;"></div> <script type="text/javascript"> window.confirm = function (s) { alert(s); }; [...]
I hope the title is self-explanatory … Several times, in a symfony project or a project which runs with the help of the prototype library, some problems arise regarding the scope of certain javascripts variables declared inside ajax request (that can be theyselves declared within other ajax request). Usually , you need to access certain [...]
Pegándome con el widget de Plaxo para obtener contactos de correo desde cuentas de servicios web públicos he necesitado sacar por un lado el nombre del “individuo” y por otro su dirección de email para insertarlo en unos controles de un formulario. Como no tengo ni idea de expresiones regulares, etc, etc, etc… me ha [...]
Recent Comments