Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Change the form action before submit

How to change the form action before submit on the basis of element/input field click.   The html sample code for form having radio button and submit button : <form action="" id="myformID"> <input type="radio" name="changeaction" v

Convert xps to pdf in Ubuntu 14.04

Hello friends, I am writing this blog as I was facing issue reading .xps files. XPS is XML Paper Specification. I resolved this issue by installing xpstopdf converter. This is how I did This is the easiest way to do: First, go to Ubuntu Software ce

How to add placeholder inside UITextView

To add placeholder UITextView first take outlet of UITextField ex- @property (weak, nonatomic) IBOutlet UITextView *yourTextView; Then follow these steps 1. In viewDidLoad add these line of code self.yourTextView.text = @“Please type here.”;

How to give bottom border to your textField

By using below code you can give bottom border to your text fields -(void)giveBottomBorderToTheTextField:(UITextField *)textField{ CALayer *border = [CALayer layer]; CGFloat borderWidth = 2; border.borderColor = [UIColor darkGrayCo

Browsernizer gem integration

We can use browsernizer gem to restrict an application to open on old version of browsers or we can notify user to upgrade browser. Add gem to Gemfile gem 'browsernizer' Run bundel install rails generate browsernizer:install This will be crea

Kaminari gem implementation in Rails

Kaminari is a very popular pagination gem for Rials . It's a Scope & Engine based, clean, powerful, customizable and sophisticated paginator gem which uses scopes to flow nicely with Active Record queries. Features of Kaminari:   Cle

How to make a view blur in iOS

If you want to make any UIView blur just like 'Notification' bar screen then here is a simple code to make it happen. This method will return a blur view and you can add that to your view as a sub view. -(UIVisualEffectView*)createBlurrEff

How to set minimun height and width of cropbox in Cropper Jquery Plugin

Setting minimun height and width of cropbox:- Hello Readers! In this blog I am going to explain you minheight and minwidth of a cropbox, which is used in the Cropper Jquery Plugin for selecting an image to crop, By default this Cropbox size is fixe

Code to Convert List to Array

Hi Friends, Today i will tell you about how we can convert a list to array. We can use 2 methods to convert list to array Method 1: //Create a list object List<string> objList = new List<string>(); //Add Items

Angularjs Post Data

Hi, Today we will discuss how to post data to the MVC Controller through AngularJS. To do so, you will need to inject '$http' as a dependency while defining your angularJS controller: app.controller('Controller', ['$scope', '$http', funct

1 47 408
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: