javascript

Using classList() API in JavaScript to work with multiple classes for a HTML element.

For training and consulting, write to us at info@xrmforyou.com Today I would like to show you the cool classList API which exists in the native JavaScript API but trust me, so many of us are still not aware of it. Event I find people with somewhat significant experience of working with JavaScript is not aware …

Using classList() API in JavaScript to work with multiple classes for a HTML element. Read More »

Understanding sessionStorage and localStorage in JavaScript

For training and consulting, write to us at info@xrmforyou.com Before the advent of HTML 5, all our data in client side used to be stored in cookies. As that was the only option then. The problem with cookies was it was included in every server request. And also the more the cookies you store, you …

Understanding sessionStorage and localStorage in JavaScript Read More »

Difference between var and let in javascript. All you need to know

For training and consulting, please write to us at info@xrmforyou.com And here I am back with a common question that is asked to me by an beginner who is trying their hands out with javascript. After all both var and let are used to declare variables in JavaScript. Well the difference between them is – …

Difference between var and let in javascript. All you need to know Read More »

Want to promisify native XmlHttpRequest in JavaScript? Check this out!

For consulting and training, please write to us at info@xrmforyou.com Promises in JavaScript have taken over by a storm. Gone are the days of nested successCallbacks and errorCallbacks. But still XmlHttpRequest is being used every where and still remains the most popular to perform server HTTP requests. How about giving XmlHttpRequest a makeover. So let’s …

Want to promisify native XmlHttpRequest in JavaScript? Check this out! Read More »

Delete a specific item of an array in Javascript

For training and consulting, write to us at info@xrmforyou.com JavaScript is something perhaps every programmer have worked. No matter whether you are a front end developer, back end developer or full stack developer, chances are for some requirement or other you must have used JavaScript. And if it is JavaScript, you must have used arrays. …

Delete a specific item of an array in Javascript Read More »

{knowhow} How to refer a JavaScript file in your PowerApps/ Dynamics 365 Portal which is not accessible via public URL?

This is a big question I face whether I am conducting a training or whether I am working on PowerApps portal in customer location. And I am really not surprised. Say you have a custom .js file where you have scripted some wonderful functions and want to reuse in the portal. It’s a really big …

{knowhow} How to refer a JavaScript file in your PowerApps/ Dynamics 365 Portal which is not accessible via public URL? Read More »