So I am wondering if I use a getelementbyname, if I can disable the disabled function (if that is the cause).
To try and test it out, I am doing this, but to no avail.... trying to disable the field.
Code: Select all
<script>document.getElementByName("wc_address_validation_postcode_lookup_postcode").disabled = true;</script>
<form method='post'>
<input type='text' name='wc_address_validation_postcode_lookup_postcode' class='input-text'>
</form>ps we have to use Name instead of ID as the coded plugin uses Name. Not ID.