Mathachew / jquery-autotab

A jQuery plugin that provides auto tabbing and filtering on text fields in a form
http://autotab.mathachew.com/
366 stars 98 forks source link

Issue with ASP.Net Webforms + asp:TextBox TextMode #62

Closed hvaughan3 closed 9 years ago

hvaughan3 commented 9 years ago

Having an issue on a Webforms site. I could certainly be doing something wrong though and/or this could be a known issue. Everything works fine as long as I do not set the TextMode="Number" on my <asp:TextBox> control.

I downloaded and reference the auto-tab file, then add the following to the .aspx page that I want auto-tabbing on:

$(function()
        {
            $.autotab({ tabOnSelect: true });
            $('.autotab').autotab({});
        });

Then I just add .autotab to the CssClass variable of my TextBox control.

Like I said, everything works fine unless I add the TextMode="number" property. I have used an asp:CompareValidator to get around this issue for now but just wanted to let someone know and see if there were any fixes for this. Thank you!

Mathachew commented 9 years ago

@hvaughan3 Please refer to my comment here

hvaughan3 commented 9 years ago

Sorry about that, did not see that post. I appreciate your help!

Mathachew commented 9 years ago

Not a problem! I would like to get it working with other input types, but the implementations and feature support are inconsistent.