This topic is locked

Custom Tab Order AJAX Popup Boxes

4/18/2020 10:53:33 AM
ASPRunnerPro General questions
R
RBrogen author

Hey Everyone,
I have a form that has one field that is an AJAX popup box which is my Zip. I have been able to successfully modify the tab order of all other fields with the exception of that one field. I believe it has to do with the type of control type but I have not been able to find anything that would tell me what type of control type to change it to. I have only found to use select for dropdown boxes but this doesn't work for AJAX popups. Any help would be greatly appreciated.
$("input[id^='value_client_FirstName']").attr('tabindex', 1);

$("input[id^='value_client_LastName']").attr('tabindex', 2);

$("input[id^='value_client_Address1']").attr('tabindex', 3);

$("select[id^='value_client_Zip']").attr('tabindex', 4);

$("input[id^='value_client_Email']").attr('tabindex', 5);

$("input[id^='value_client_HomePhone']").attr('tabindex', 6);

$("input[id^='value_client_CellPhone']").attr('tabindex', 7);

$("input[id^='value_client_BizPhone']").attr('tabindex', 8);
https://xlinesoft.com/blog/2019/03/07/changing-default-tab-order/

N
Nir Frumer 4/18/2020

hi

make sure that the id is correct

by inspecting it in your browser,
this may solve your problem (id's are also case sensitive)
hope it helps,

Sergey Kornilov admin 4/20/2020

Also, you need to learn a bit of HTML to understand the idea behind this code.
Text box = input

Text area = textarea

Dropdown box = select
You can see all these inspecting edit controls using Chrome Developers Tools.

This video can help:

https://www.youtube.com/watch?v=yFnD38oslIc