Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Change the value of countbubble (list component) in JS

I want to set the value of countbubble in listItems via JS in the output response mapping of a REST service. I've checked the documentation but haven't found this. How may I proceed?

The pseudocode for output service mapping is below:

function(value, element) {
element.ui_li_count.text = 10;
}

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Change the value of countbubble (list component) in JS

Hello,

Use the following code please:preelement.find(".ui-li-count").text(value);/pre

Return to “Issues”