K
K
Kulver_stukas2017-11-11 14:12:09
JavaScript
Kulver_stukas, 2017-11-11 14:12:09

Why does the phone not remember the settings for limiting mobile traffic?

Highsreen Power Five, Android 5.0, no software attachments like non-standard launchers are installed. Worth turning off for the night. After turning off the mobile traffic limit and the restriction of programs on the background, the activity is reset. The question was inspired by Yandex.Music, which managed to use 3Gb of mobile traffic in 15 minutes without even playing anything (it started in the car when connected to Bluetooth and gobbled up the entire monthly limit while paused while the radio was on).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alekseyHunter, 2019-08-19
@DeniSidorenko

The first option is to loop through all the checkboxes and check for the checked attribute.
Another option is to place the checkboxes in a form that is submitted when the button that appears next to the selected checkbox is clicked. On the server side, we check the array of checkboxes, if it is not empty, we return true, otherwise false. Next, in the ajax script, add a class for the parent.
Another option is to use the Ajax find() method.
Example for the last option: https://jsfiddle.net/dlcwalkoff/jh5e3otx/9/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question