On Monday, June 8th a new iX magazine special was published. I wrote an article together with Marcus Schiesser on rich clients. The goal was to show how easy it is to combine ruby on rails and ExtJS.
This is my first publication and I’m little bit proud of it The magazine covers a lot [...]
Using cucumber and bdd is just fun. Shoulda have used it earlier … Sorry, I need to write that
When you use cucumber (at the beginning) you always have to run
cucumber features
in your console to run all your features. Or you specify one by running
cucumber features/session.feature
There are some more ways but have a look [...]
Posted on 4. Mai 2009, 16:58, by Stefan, under
Javascript.
Submitting forms twice sometimes causes errors because resources aren’t available any more or a second request on a specific resource isn’t allowed. There are many reasons why submitting a form twice causes an error.
Some lines of jquery will help you prevent those errors:
1
2
3
4
5
6
7
$(function() {
var input=$("input:submit");
input.click(function () {
$(this).attr("disabled", true);
$(this).attr("value", "Submitting…");
});
});