add string utils and dom get parent tabindex