Equivalent Html IDs when grid turns to mobile question.

Hi,

I have a grid question where I am hiding a row using JQuery.

$("#Q14_r9_row").hide()

However, when this question is seen on mobile, this script breaks as question is arranged in different HTML and there is no such ID for the created sub-question (which is a bummer!).

Please let me know how to derive the equivalent ID in mobile layout of grid questions when writing such scripts.

For instance, what would be the ID to be hidden in this case?

There must be a pattern used in this conversion while putting IDs. I guess different ID is used just so styles written for desktop layout do not affect the mobile one.

2 replies