1
I have a input
which is disabled by default, but I wanted to enable it in the page loading through jQuery, but it is not working.
Code of input
:
<input type="text" title="Número" name="billing[street][2]" id="billing:street2" class="input-text required-entry" value="" autocomplete="off" disabled="">
I tried the code below but did not succeed:
$j(document).ready(function(){
$j('#billing:street2').prop('disabled',false);
})
It worked! Thank you very much for the help and attention! An observation: the character
$j
it wouldn’t be a mistake, because I use$j.noConflict();
so that I don’t have conflicts with other libraries. But anyway, thank you very much for the help!– Matheus Portela
Oh yes, I understand...
– Roberto de Campos