Quantcast
Channel: javascript – RLV Blog
Browsing latest articles
Browse All 12 View Live

Using wildcard matching in any programming language

Most computer savvy persons are familiar with using wildcards when listing files and similar operations. Wildcards are quite easy to understand and use. An asterisk * means match anything, and the...

View Article


Image may be NSFW.
Clik here to view.

Edit SharePoint property bags with SpPropertyBag.js bookmarklet

SpPropertyBag.js is a drop-in JavaScript for editing SharePoint web properties (the “property bag”). Simply paste the script into the JavaScript console and run it to open a dialog where you can view,...

View Article


Image may be NSFW.
Clik here to view.

Parse Visio SVG drawings with Snap.svg

This tutorial shows how to: Load and work with SVG files using the Snap.svg JavaScript library. Parse SVG drawings exported from Visio 2013 to read data and interact with the shapes. To help with this...

View Article

Heads-up if you use ADAL.JS on a site added to the “Trusted Sites” zone

When working on a SharePoint Online solution that is using the ADAL.JS library for authentication, a customer reported strange problems. In our solution, our site sends the client to the authentication...

View Article

Extending the JavaScript console with history recording

The browser JavaScript console is a web developers best friend. Using console.log()  is essential for debugging your web apps. But there are a few annoyances. Two things that bother me for a while are:...

View Article


Image may be NSFW.
Clik here to view.

Internet Explorer: ScriptImports is undefined

Today I spent way too much time on hunting down a bug that occurred in Internet Explorer 11 running our intranet solution on SharePoint Online / 2016. The problem showed itself by throwing the...

View Article

Image may be NSFW.
Clik here to view.

Popup opens as new browser window in Edge and Internet Explorer

Problem: Opening a popup with JavaScript in Edge or Internet Explorer results in a new browser window instead of a popup window. For example:var popup = window.open("https://www.duckduckgo.com/",...

View Article

Open a SharePoint list in classic experience if link is missing

The modern list experience in SharePoint is the default by now. But you can still revert to classic experience by clicking the link under the left navigation. But on communication sites the left nav is...

View Article


Show React dialogs fluently with hooks and promises

Suppose you have a React component that displays a modal dialog and returns the result:<Dialog message="Are you sure?" onClose={onCloseDialog}>The typical way to use it would be to have a state...

View Article


Image may be NSFW.
Clik here to view.

Using emojis for easier JavaScript debugging

I normally don’t care much for emojis, but lately I’ve found them to be helpful when working with JavaScript. The JavaScript console may not be the most elegant way to debug, but it’s the quickest and...

View Article
Browsing latest articles
Browse All 12 View Live


Latest Images