I am writing a plugin. For that I will log a few things, say warnings, necc things, etc. To log them I will use console, but there can be an error if some browser doesn’t support console. To handle this error, I am thinking of using this code: if (typeof console == ‘undefined’) console = […]
I have an e-mail field, and a confirm e-mail field. I need to validate both of them to make sure their values match. Is there a way to add a rule to match those two fields?
I recently started working with KnockoutJs and quickly realized using the default Json(myModelWithADate) resulted in the default json encoding of \/Date(-62135578800000)\/ With a bit of research I located four potential ways to handle the display of my dates in dom elements. 1) Create a binding that handles the conversion from the Json date to the […]
Is there any way to set up the default System.Web.Optimization.ScriptBundle to generate source maps for the bundled and minified files? Is there an equivalent solution, other than having to pre-generate the bundles and source maps before each build?
This question already has an answer here: How do I return the response from an asynchronous call? 23 answers