Disable tab in edittable

Disable tab in edittable

  

SyntaxEditor Code Snippet

"<script>

$(document).ready(function() {
     $('#"+InputId+"').on('keypress keyup keydown', function (event) {
        var keyCode = event.keyCode ? event.keyCode : event.which;
        //  TAB but not SHIFT
        if (keyCode === 9 && !event.shiftKey) {
            event.preventDefault();
            return false;
        }
     });
});

</script>"

Hi Jitendra,

Thx for the sharing.

@Abilio thanks for the correction :)

Regards,

Marcelo

Marcelo Ferreira wrote:

Hi,

Please check out Eduardo's excellent article on how to ask a question. This way we can help you better.

Regards,

Marcelo

I think Jitendra is sharing code and not asking questions.


Regards,

Abílio Matos