Tags » Javascript

Auto Paginated Dashboards

Well, in my previous article, we discussed how to export an HTML table into excel sheet (here). This one is about Application Dashboards.

Dashboards are one of the important functionality provided by an enterprise application. 806 more words

HTML

Jetpack 3.4.2 Released

Jetpack 3.4.2 includes a small number of bug fixes that previously required users to manually patch items in the plugin. Three of the issues were causing fatal errors in very specific circumstances (affecting less than 1% of our users). 31 more words

Releases

JavaScript form validation

<form name="myform" onsubmit="return validateForm()">
   <input type="text" name="FullName"/><img style="position:absolute; display:none;"   
       src="~/Assets/MyImages/FormValidationError.png" />
</form>
<script>
    function validateForm() {

        var form = document.forms["myform"];
        var fullNameTextBox = form["FullName"];            
        var fullName =fullNameTextBox.value;      
        if (fullName == null || fullName == "") {
            alert("Name must be filled out.");
            
            var thisImage = fullNameTextBox.nextSibling;
            //OR, var thisImage = fullNameTextBox.nextElementSibling;
   
            thisImage.style.display = 'inline';
            //OR, thisImage.setAttribute('class', 'visible');
            return false;
        }

        return true;
    }
</script>
JavaScript

JavaScript Filter, Map, Reduce in 5 Minutes

This post will summarize JavaScript’s filter, map, and reduce methods with simple examples.

Filter

From a given array of numbers, we want to keep the even numbers only. 247 more words

Javascript

Cloning the Javascript object

Javascript keep the same reference for original and cloned objects, so when you change anything in original object it will change in cloned object also and vice versa. 231 more words

Programming

Ember.js- Controllers and JSON Content

The next stage of development in Up and Running with Ember.js is Controllers and JSON Content. This section covers About controllers and getJSON(), Build nested routes, Add model data and updated templates, Build Route objects, Load data with object and array controllers and Load model content with getJSON().

JavaScript

I challenged myself today to take some jQuery I used for an off-canvas slide-out menu and turn it into vanilla JavaScript.

I still have some work to do, but am about half way there. 38 more words

General