> Ajax validation. If it's validated then I need to disabled or hide > it so the user can't edit it. Problem with disabled is that when the > form is submitted disabled field doesn't get submitted.
You can make it read only, and maybe make the text gray so it's a little clearer that it can't be edited: $('#inputID').attr('readonly', 'readonly').css('color', '#999'); If you really want to "convert" it to hidden, just make a new hidden element and copy over the name and value properties. --Erik