def server_set_link(self, link, linkdescribe, decoration, linkcolor): js = "document.getElementById(\"" + self.id + "\").innerHTML=\"" + linkdescribe + "\";" js += "document.getElementById(\"" + self.id + "\").href=" + link + ";" js += "document.getElementById(\"" + self.id + "\").style.color=" + tuple_rbg( linkcolor) + ";" js += "document.getElementById(\"" + self.id + "\").style.textDecoration=\"" + linkdescribe + "\";" return js
def server_set(self, text, textcolor, backcolor): js = "document.getElementById(\"" + self.id + "\").value=\"" + text + "\";\n" js += "document.getElementById(\"" + self.id + "\").style.color=" + tuple_rbg(textcolor) + ";\n" js += "document.getElementById(\"" + self.id + "\").style.backgroundColor=" + tuple_rbg(backcolor) + ";\n" return js
def client_set(self, text, textcolor, backcolor): js = "id.value=\"" + text + "\";" js += "id.style.color=" + tuple_rbg(textcolor) + ";" js += "id.style.backgroundColor=" + tuple_rbg(backcolor) + ";" return js
def client_set_text(self, text, textcolor, backcolor): js = "id.innerHTML=\"" + text + "\";\n" js += "id.style.color=" + tuple_rbg(textcolor) + ";\n" js += "id.style.backgroundColor=" + tuple_rbg(backcolor) + ";\n" return js
def client_set_link(self, link, linkdescribe, decoration, linkcolor): js = "id.innerHTML=\"" + linkdescribe + "\";" js += "id.href=" + link + ";" js += "id.style.color=" + tuple_rbg(linkcolor) + ";" js += "id.style.textDecoration=\"" + linkdescribe + "\";" return js
def server_set_link(self, link, linkdescribe, decoration, linkcolor): js = "document.getElementById(\"" + self.id + "\").innerHTML=\"" + linkdescribe + "\";" js += "document.getElementById(\"" + self.id + "\").href=" + link + ";" js += "document.getElementById(\"" + self.id + "\").style.color=" + tuple_rbg(linkcolor) + ";" js += "document.getElementById(\"" + self.id + "\").style.textDecoration=\"" + linkdescribe + "\";" return js