We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I want to disable the toggle and switch them to off (or the oppsosit condition). I have 10 toggle's in my page:
var ausgabe = positionenData.ausgabe; for (i = 1; i < 11; i++) { if (ausgabe == false) $('#ausgabe' + i).bootstrapToggle('disable'); if (ausgabe == true) $('#ausgabe' + i).bootstrapToggle('enable'); if (positionenData['ausgabe' + i] == true) $('#ausgabe' + i).bootstrapToggle('on'); if (positionenData['ausgabe' + i] == false) $('#ausgabe' + i).bootstrapToggle('off'); }
when i do first disable the toggle, the switch don't work, When i switch the toggle it don't get deaktivated.
Each for it self works like expected.
I have tried to do this with the prop('disabled') but it also dont work.
Any Idea?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I want to disable the toggle and switch them to off (or the oppsosit condition). I have 10 toggle's in my page:
var ausgabe = positionenData.ausgabe; for (i = 1; i < 11; i++) { if (ausgabe == false) $('#ausgabe' + i).bootstrapToggle('disable'); if (ausgabe == true) $('#ausgabe' + i).bootstrapToggle('enable'); if (positionenData['ausgabe' + i] == true) $('#ausgabe' + i).bootstrapToggle('on'); if (positionenData['ausgabe' + i] == false) $('#ausgabe' + i).bootstrapToggle('off'); }
when i do first disable the toggle, the switch don't work,
When i switch the toggle it don't get deaktivated.
Each for it self works like expected.
I have tried to do this with the prop('disabled') but it also dont work.
Any Idea?
The text was updated successfully, but these errors were encountered: