List Counter Value from code
I wish to set the value of the counter in a list item,
From:
<!--<span class="ui-li-count ui-body-a"0</span--
To:
<!--<span class="ui-li-count ui-body-a"5</span--
How do I achieve this from code.
Regards,
Joe
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
I wish to set the value of the counter in a list item,
From:
<!--<span class="ui-li-count ui-body-a"0</span--
To:
<!--<span class="ui-li-count ui-body-a"5</span--
How do I achieve this from code.
Regards,
Joe
Hello Joe,
Using jQuery you may find the element you want on the page http://api.jquery.com/find/ and change its contents http://api.jquery.com/text/
Hi, I found the most direct method was to use:
$('#Jobslist_pge_msg_item span').text('13');
Where Jobslist_pge_msg_item was the true ID.
Hi Joe,
Let us know if you need any further help.