AngularJS Posting Login Form
In this example, we are going to create a Bootstrap login form and have AngularJS perform an POST on this form to a backend PHP page to see if the username and password is correct. 1. We first...
read moreUsing Javascript logical OR operator as an default operator
The Javascript logical OR operator works like this … If the first operand is truthy (see what is truthy and falsy), it will return the first operand. Otherwise it will return the second...
read moreJavascript logical AND operator does not necessarily return boolean true false
If you came from other programming language, you might expect the Javascript boolean operator to return a boolean true or false. But this is not necessarily the case in Javascript. It will return...
read moreHow to delete array elements in Javascript
To delete array elements in Javascript, you can either use delete or splice. The difference is that use of delete leaves “holes” in the array … This removes the “c”...
read moreJavascript not sorting numeric arrays correctly
Javascript arrays have a sort method, but it does not sort numeric arrays as expected. For example, this code … sorts them as if they are string, rather than numeric as expected....
read moreResponsive Horizontal Menu with Off-Canvas
In the last tutorial we created an horizontal menu that became an menu icon in mobile view. In this tutorial, we continue to have the horizontal menu in wide browsers …. but it becomes an...
read moreResponsive Horizontal Nav Menu with Drop Down using Foundation
Let’s use the Zurb Foundation framework to create our responsive horizontal navigation menu with drop down sub menus. The menu will will horizontally laid out in wide browsers … It will...
read moreOff canvas menu using Foundation
We are going to build an off-canvas menu using Zurb Foundation so that it looks like this … View live demo. 1. Download Foundation Zurb website. You are going to need the Complete or...
read moreHide script from IE8 using conditional comments
Suppose we have a script tag that we want modern browsers to run, but we don’t want Internet Explorer (IE) 8 or lower to run. This could be because jQuery 2.0 and AngularJS 1.3 don’t...
read moreAll contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.