IE8 columns receive focus but cannot be sorted with keypress for jQuery datatables


I am working in Classic ASP and jQuery for a web page that must use IE8.  I have a page with multiple data tables using DataTables-1.9.4.  The page must be 508 compliant. Therefore, when I tab through  the header columns (this works), I must be able to use the enter key to  ascend and descend the column sort order.  I can ascend and descend the sort order with the mouse but, when I use the enter key it loses focus and opens the modal window to create a new record. The focus jumps to the "create a record" button. This only happens on the page with multiple datatables.  It does not happen on the pages with a single datatable.  The code works fine in Firefox and Chrome but,
it has to work in IE8. I have attached the ASP and Javascript files for you to review.
At about line 90 in the InitSaveLoad file I use a work around to not sort on the multiple tables page but, I would prefer not to use it.  Thanks for your help.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michel PlungjanIT ExpertCommented:
I'd love to help you, but eyeballing reams of JS and try to guess how your ASP renders data tables is not an option.

Please create a with rendered html or make a test page that shows the issue.

You likely need to make sure the "create a record" button is not a submit button or grab and handle the 13 keycode on your page and cancelBubble or preventDefault on the button
capturetheflagAuthor Commented:
I withdraw this question.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
capturetheflagAuthor Commented:
Please withdraw this question.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.