I have a mobile application similar to that of the Telerik demo found at: http://demos.telerik.com/kendo-ui/mobile-layout/index
In my application however I have a div and need to alter the text within it when the online or offline events fire. If I use JQuery to select the div the text is only changed the first time one of the events fire. If either event fires again the text does not change. (I have confirmed that the code for each event fires every time its just that the text isn't updated after the first change).

Can anyone tell me why the update does not occur each time?
Assuming that you have the
online/offlinebutton defined as:What I suggest is play with the text of the
buttonusing a simple jQuerytextcall.First provide an
idto the button so you can easily find it:Then turn it
offlinewould be:Check it here: http://dojo.telerik.com/@OnaBai/IFezi/2
You might also create two buttons one for
onlineanother forofflineand show only one using CSS as follow:
Check it here: http://dojo.telerik.com/@OnaBai/IFezi/3