@@ -35,6 +35,7 @@ def __init__(self, UI, id):
self.UI = UI
UI.elements[id] = {}


def prop(self, prop):
id_ = "".join([ str(random.randint(0, 9)) for x in range(0, 16) ])
script = "getcallback('{id_}',$('#{id}').prop(`{prop}`));".format(id=self.id, prop=prop, id_=id_)
@@ -46,6 +47,7 @@ def prop(self, prop):

return self.UI.mite.callback_result[id_]


def attr(self, attr, value=None):
# generates a callbackID
id_ = "".join([ str(random.randint(0, 9)) for x in range(0, 16) ])