Category Archives: Javascript

Trigger window.resize event via javascript

2016-06-15 Use below code to trigger window.resize event. This can be helpful to refresh some libraries like Chartist.js when a panel  or a div the control is contained in is expanded. P.S. The above method isn’t supported by Internet explorer (failed on … Continue reading

Posted in Javascript | Tagged , , , | Leave a comment

JavaScript Null Coalesce

2016-06-07 Use || similar to ?? in C# example (mvc)

Posted in Javascript | Tagged , | Leave a comment