Skip to content

TechieSpice

Techie's Space for Tech

  • Home
  • AWS
  • Umbraco
  • PowerShell
  • C#
  • React

Category: Javascript

Javascript

Convert PHP script to JavaScript

May 24, 2019 Leave a Comment

Convert PHP script to JavaScript

Read More →

Javascript

Countdown timer in Javascript

May 16, 2019 Leave a Comment

Code to create a timer till a specific datetime.

Read More →

Javascript

ECMAScript 2018 (ES9)

January 25, 2019 Leave a Comment

ES9 provides syntactic support for asynchronous iteration - synchronous iterators and asynchronous iterables, which is just like regular iterators, except that they have a next() method that returns in Promise.

Read More →

Javascript

Array.map vs Array.forEach

November 14, 2018 Leave a Comment

forEach can be used just like a traditional 'for loop' that iterates each of the array element once.

Read More →

Javascript

How to stop an event propagation in javascript?

August 16, 2014 Leave a Comment

You can stop the event propagation by doing this –  function stopEventPropagation(event) { if (event.stopPropagation) { event.stopPropagation();   // W3C model } else { event.cancelBubble = true; // IE model } }

Read More →

Javascript

How to get XML string in javascript?

August 16, 2014 Leave a Comment

Here is the function: function getXmlString(xmlDoc) { try { return ((new XMLSerializer()).serializeToString(xmlDoc)); } catch (e) { try { // Internet Explorer. return (xmlDoc.xml); } catch (e) { //Strange Browser ?? return (‘Xmlserializer not supported’); } } }

Read More →

Javascript

How to apply xml to xslt in javascript?

August 16, 2014 Leave a Comment

Here is the function:   function transFormXml(xmlData, xsltData) { try { try { return xmlData.transformNode(xsltData); } catch (e) { var xsltProcessor = new XSLTProcessor(); xsltProcessor.importStylesheet(xsltData); return getXmlString(xsltProcessor.transformToFragment(xmlData, document)); } } catch (e) { alert(e); } return null; }

Read More →

1 2 3 Older ›

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 9 other followers

Follow TechieSpice on WordPress.com

Recent Posts

  • Rebuild examine index programmatically
  • Combine one or more generic lists in C#
  • Generate a hex encoded HMAC-SHA256 hash using Crypto in Nodejs
  • Restore SQL database from .bak file stored in AWS S3 bucket
  • Restore Azure Database (.bacpac) file to SQL Server (.bak) file

Tags

.map() vs .forEach() add images to umbraco array array.foreach array.map Array Methods Explained AWS C# c# 7.3 C# 8 features C# 8 Small Features c# 8.0 c# new features c# new version concat Creating media in Umbraco date date format ecma ecma2018 ecmascript2018 ECMAScript 2018 element es9 Expected New Features In C# 8 filter fonts for each function functions get-childitem grid icons Javascript JavaScript: What's new in ECMAScript 2018 (ES2018)? length media New ES2018 Features New in JavaScript operators PowerShell query recurse security size sql ssl string string length substring svg template The ES2018 Guide tls traverse uCommerce Umbraco upload images upload images to media section of umbraco upload images to umbraco uploading media using content in umbraco url variable version What's coming in C# 8.0 What's new in C# 7.3 What's New in C# 8.0 What's new in ECMAScript 2018 for JavaScript what is new in c# what to expect in c# 8.0 Work with images in umbraco xml xpath xslt xslt 1.0

Categories

  • AWS (3)
  • C# (4)
  • Icomoon (1)
  • Javascript (15)
  • Nodejs (1)
  • PowerShell (3)
  • React (1)
  • sql (4)
  • Umbraco (5)
  • Uncategorized (1)
  • xslt 1.0 (7)
Create a website or blog at WordPress.com
TechieSpice
Create a website or blog at WordPress.com
Cancel