I have this function toggles the disabled attribute form a input field:
$(\'.someElement\').click(function(){
if (someCondition) {
console.log($
Thank you all for your contribution! I found the problem:
ITS A FIREBUG BUG !!!
My code works. I have asked the PHP Dev to change the input types hidden in to input type text. The disabled feature works. But the firebug console does not update this status!
you can test out this firebug bug by your self here http://jsbin.com/uneti3/3#. Thx to aSeptik for the example page.
update: 2. June 2012: Firebug in FF11 still has this bug.