Generally, when logging in, there are two checkboxes for remembering username and password.
Using jquerymobile to make the page, when the checkbox is checked, it cannot always get its correct value.
Solution: [code] $('input[type="checkbox"]').bind('click',function() { $(this). prop('checked').checkboxradio("refresh"); // Bind events to update the checked value of the checkbox in time });
If you want to use js to change the checkbox The value must also be refreshed in time.
Cause: jquerymobile cannot re-render after manually changing its value. In this way, the value displayed on the page is different from the actual value. (jquerymobile hides all form elements, and then uses js to add some elements to beautify the effects of input, select, textarea and other elements) [/code] Drop-down box refresh
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn