Articles tagged "javascript"
Page 3 of 3
2 min readBeginner
jQuery: get a checkbox value using jQuery
We explain how to get the value of the checked property in an HTML checkbox and then trigger an action based on the value. We recommend to use $('#conditions').prop('checked') when using jQuery 1.6+. If you want to set the checkbox value use: $("#conditions").attr("checked",true);. For Using the jquery toggle to a checkbox use $("#conditions").toggle(this.checked);`
2 min readIntermediate
How to redirect to another page using jQuery
Learn how to redirect to another page using javascript the correct way. You don't need to use jQuery to do the redirect. Check here the proper way to do a jquery redirect using just the window.location.replace("http://tutorials.technology"), white will avoid the back button infinite redirect. Check this tutorial for more details.