Tags » HTML 2

Check if file upload is supported in device or not

// Detect file input support
var isFileInputSupported = (function () {
// Handle devices which falsely report support
if (navigator.userAgent.match(/(Android (1.0|1.1|1.5|1.6|2.0|2.1))|(Windows Phone (OS 7|8.0))|(XBLWP)|(ZuneWP)|(w(eb)?OSBrowser)|(webOS)|(Kindle\/(1.0|2.0|2.5|3.0))/)) {
return false;
// Create test element
var el = document.createElement("input");
el.type = "file";
return !el.disabled;

if (isFileInputSupported)
alert('This device does not support File upload.');

HTML input and boolean values

This is so outrages.

Try showing a boolean value in HTML and it won’t show!

  <input type="text" id="isNotificationRead" value="@Model.is_read" /> 

Instead, you’ll get ‘value’ if true and empty if false. 50 more words


Hi all…

Welcome to my blog. This is just a Demo Post!!.

To stay in touch with all the latest technology updates?….Visit this blog regularly.



It’s not often that yours truly pens an update but since I don’t do so I figured  that my followers deserved such. So i you will bear with me I will proceed making his as brief as possible. 494 more words


Adding a 3D viewer to your website – Part 3

In this part we will add a file called Pick3DModel.php. This will allow you to select one of many 3D objects stored in your www folder. 963 more words