Are there any guidelines on doing 'inline' editing with jQuery?
I know I am not using the correct term here, but basically you click on a some text and dynamically the area changes to an editable input box with a submit button.
Is there any built in capabilities with jQuery?
jQuery has nothing built-in as far as I know, but check out Jeditable, which is a jQuery plugin.
You can do something like this:
<input type="text" value="someText" id="editableText" class="hideBorder"/>
$('#editableText').toggle(function() {
$(this).removeClass('hideBorder');
}, function() {
$(this).addClass('hideBorder');
});
.hideBorder {
border: 0;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With