dynamic content in sinfo
dynamic content in sinfo
matthewj
Posts: 39Questions: 2Answers: 0
Hi Allan,
I am trying to put dynamic content in "sInfo" in oLanguage but I am not getting the results:
"sDom": '<"H"><"top"i>tr',
"oLanguage": {
"sInfo": 'Assignments List - You have a Total of _TOTAL_ Active Assignment(s) - ( of _TOTAL_ Completed)'
}
Below is the code to put value in the span:
$('span#completedcnt').html("3");
The above code doesn't seem to work.
When I view the html using firebug I can see that span is included in the header without value: 3
[code]
Assignments List - You have a Total of 9 Active Assignment(s) - ( of 9 Completed)
[/code]
Regards,
Mathew
I am trying to put dynamic content in "sInfo" in oLanguage but I am not getting the results:
"sDom": '<"H"><"top"i>tr',
"oLanguage": {
"sInfo": 'Assignments List - You have a Total of _TOTAL_ Active Assignment(s) - ( of _TOTAL_ Completed)'
}
Below is the code to put value in the span:
$('span#completedcnt').html("3");
The above code doesn't seem to work.
When I view the html using firebug I can see that span is included in the header without value: 3
[code]
Assignments List - You have a Total of 9 Active Assignment(s) - ( of 9 Completed)
[/code]
Regards,
Mathew
This discussion has been closed.
Replies
Allan