Skip to content

Vinodkram

Creative, Informative and Entertaining Stuff for everyone

  • About
  • Get in touch

Tag: file type validation

file type validation in javascript

function isValidfile(filename)
{

file_value = filename;
var checkfile = file_value.toLowerCase();
if (!checkfile.match(/(\.doc|\.DOC|\.pdf|\.PDF)$/))
{
return false;
}
else
{
return true;
}
}

Author Posted on March 26, 2008Categories web developmentTags file type validationLeave a comment on file type validation in javascript

Tags

  • ajax (1)
  • cms (1)
  • content type (1)
  • coupon (1)
  • create html element (1)
  • custom query (1)
  • date (4)
  • date difference in javascript (1)
  • date validation (2)
  • drupal 7 (1)
  • Eloquent (1)
  • export to excel (1)
  • file type validation (1)
  • gift code (1)
  • gridview (1)
  • html (1)
  • html issue (1)
  • image (1)
  • image permission (1)
  • image validation (1)
  • iphone (1)
  • javascript (6)
  • jquery (6)
  • laravel (2)
  • Leap year (1)
  • linux (1)
  • nl2br (1)
  • opencart (1)
  • raw sql (1)
  • replace html tags (1)
  • replace html text (1)
  • s3 bucket (1)
  • sql query (1)
  • URL rewrite rule (1)
  • validation (5)
  • wordwrap (1)
  • yii (1)
  • yii2 (2)

Categories

  • ajax
  • apache
  • aws
  • CMS
  • css
  • Drupal
  • ffmpeg
  • General
  • htaccess Setting
  • HTML
  • iphone
  • javascript
  • jquery
  • Laravel
  • linux
  • mac
  • MVC
  • Mysql
  • opencart
  • ORACLE
  • others
  • PERL
  • PHP
  • rewrite rule
  • Symfony
  • Uncategorized
  • web development
  • Window
  • Wordpress
  • yii
  • yii2
  • About
  • Get in touch
Vinodkram Proudly powered by WordPress