cancel
Showing results for 
Search instead for 
Did you mean: 

find system generated form button id using splice method in sapui5

krushii
Explorer
0 Kudos

how can i find a system generated form button id using splice method in sapui5

eg:

when i am using "id = __button1" by using slice method i got "1"but when i am using "id = __button12" by slice method i want to get "12" but getting "2" how can i fix it

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Rushikesh,

Use id.slice(7), It will return 12

Thanks,

Sudhi