JavaScript

Charge Tax on Shipping Using Gravity Forms for WordPress

After figuring out how to charge tax for only one state , I then needed to include the shipping in the taxable amount. When I used the calculated field ( ({EMT Code Membership:30} + {Shipping:28} ) * .07 ) in Gravity Forms, the total would not refresh. I looked in the javascript for Gravity Forms …

Charge Tax on Shipping Using Gravity Forms for WordPress Read More »

AngularJS ng-repeat

AngularJS allows me to loop through an array with the ng-repeat directive very easily. (The ‘Resources’ tab will show you the JavaScript and css files I’ve included and the ‘Result’ tab will show you the output.) Notice the ng-init initializes the array with a list of languages. ng-repeat=”language in languages” will loop through the languages …

AngularJS ng-repeat Read More »

JavaScript Primitive and Reference Variables

JavaScript has no rules for the type of data that a variable must hold. The type and value can change. JavaScript divides the variables into two major types: Primitive and Reference. Primitive variables are simple atomic pieces of data and Reference variables are objects of multiple values. The five primitive types are: Undefined, Null, Boolean, …

JavaScript Primitive and Reference Variables Read More »

Scroll to Top