Hello! In mapping to the function also passes element (besides the value). Please try the folowing code:
codeelement.parents("li").css("background", "red");/code
Hello! In mapping to the function also passes element (besides the value). Please try the folowing code:
codeelement.parents("li").css("background", "red");/code
That is it!!!
THANK YOU!!
Marina,
I have this working with background of the ListItem. I am now trying to change the font color of a Label. I have a ListItem and in the ListItem there is a grid with 2 columns. In each column there is 1 label and I would like to change the font color of the label to white. How do I get a reference of that label.
I have the following code but the font color changes for all labels.
if (value == true) {
var listItem = element.parents("li");
listItem.css("background-color", "red");
$('div[dsid="CashierTotals_Descrpt"]').css('color','white');
}
Hello! Try with the following code:
codelistItem.find('div').css('color','white');/code
It works!!! Thanks.
I am trying to change the background color of a cell in a grid. I tried...
Appery("mobilegridcell_128").css("background-color", "blue");
but it does not work. What am I missing ?
Yes, that is correct, but how can I do it with javascript at runtime ?
I found this works....
document.getElementById('GUI_Test_mobilegridcell_3').style.backgroundColor = 'transparent';
Where "GUI_Test" is my page name.
Thanks for update. Is this question related https://getsatisfaction.com/apperyio/... ?