[Javascript] Safari issues or better saying poor programming issues

MEM talofo at gmail.com
Tue Mar 30 11:22:20 CDT 2010


Hello all,

I'm newbie into javascript and with this speed, I will always be... so I'm
sorry for this strange solution to work with disabled and enabled inputs, if
you can share a better way, I can digg in.
Anyway, can I please have your help:

I have issues on Safari display for the following code:

http://pastebin.com/imenHbWB

The linked js file contains to the document above has the following lines:

function activaInput()
{
    document.candidaturaOnline.txtOutro.disabled=false;
}

function desactivaInput()
{
    document.candidaturaOnline.txtOutro.disabled=true;
}



What it doesn't do is, it doesn't allow the user to write on the input box
with the id txtOutro, when the radio button with the id outro has focus.

I'm on Safari 4.0.5

Both, the HTML and CSS are validated on w3c.


What could be the issue?
Márcio


More information about the Javascript mailing list