Getting ebase resouce from html

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

PeteM
Ebase User
Posts: 31
Joined: Thu Apr 21, 2016 1:04 pm

Getting ebase resouce from html

#1

Postby PeteM » Thu Sep 21, 2017 10:49 am

Hi,

Is there anyway to reflect the Ebase resouce from a Table so I can pick it up cleanly in client side Scripting?

For example - an example class ID of a table in HTML is something like:

eb-8YGFfvyq-Override-tableContent

Is there any way I can lookup that "eb-8YG....." and have a return of the actual ebase resource name? I'm trying to be smart and having to hard code an attribute or class name to pick out in jQuery.

Cheers,

Peter
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Thu Sep 21, 2017 2:43 pm

You can't use the control name to find the control with jQuery. The most common technique is to add an id (or a class if the control repeats) using HTML Element Properties. I don't know of any short cut that would avoid this.
0 x


Who is online

Users browsing this forum: No registered users and 6 guests