Archives July 11, 2009

Javascript and Namespaces...

Say you want to trigger the submission of a form in jquery:

$("form.someclass").submit();

Simple, straightforward, robust... you think.  Turns out in Firefox, if you have any form element (such as your submit button) named "submit", the submit referenced becomes that element, rather than the function to do the submission.

OMG, you think, has no-one thought ...

Continue reading

Previous day

July 10, 2009

Next day

July 12, 2009

Archives