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

Search In

How to validate phone number with fix length in liferay

Hi I need to validate the phone number with fix length. I am using aui:input tag of alloy script as below : <aui:input type="text" id="phoneinput" name="phone" value="" label=""> <aui:validator name="maxLength" errorMessage="Please Ent

Product is not available with In-App purchase in Phonegap

Has developed a PhoneGap application with in-app purchase. I am using PhoneGap Build. But how do I test so that in-app purchases work now? Has created an in-app purchase on the iTunes Connect and downloaded the app from the PhoneGap Build to my phon

On paste event in javascript.

I am using a telerik editor control in my web app which by default has On Paste (Ctrl + V) event handler which open a dialog box. It is working in latest version of IE(Edge), Firefox and Chrome. But I need to make it support in IE 7 and 8. In IE 7 an

Could not execute command 'lessc' in odoo-9

If "Could not execute command 'lessc'" Error ocour while installing odoo-9 and the login page will not show clearly. Then use this six command in terminal and run it one by one 1- sudo apt-get install nodejs 2- sudo apt-get install npm 3- sudo np

How to validate file extension and size before upload?

Here is the example to validate the file extension and size before upload. Regular expression has been used to validate the file extension. And to validate file size, we use size property of file input i.e., img.files[0].size. Onclick event of button

Resolving File System issue on Linux

In Linux if your filesystem gets corrupted there is a command that can be used to fix the issue. To fix the file system related issues type command fsck on system's recovery console. This would fix the errors on your file system to get your linux

Convert HTML string to Plane NSString

Hi Friends, Sometime in API responses we get html strings. To get pure string from html string this code will help you. NSString *htmlStr = @"html String"; NSData *data = [htmlStr dataUsingEncoding:NSUTF8StringEncoding]; NSDictionary *

Get all Terms of Taxonmy

Hello all, Get all terms of taxonomy. Using the particular code below, we can print all term with permalink in taxonomy and single page. $taxonomies = 'TAXONOMY-NAME; $get_terms = get_terms( $taxonomies, '' ); term_id != 1 ) { echo

Display MySQL server information in PHP

To display MySQL server information in PHP a function mysql_get_server_info() is used. It returns version of MySQL server on success else false. For example: <php //enter your hostname,username and password of mysql mysql_connect("localhost", ""

Android studio setting minifyEnabled true causing issues with app

Basically, it happens when we use third party libraries. Proguard doesn't work well with many of the libraries so we need to make changes in proguard file. For example, to solve out the errors of retrofit library, we need to add these things in pro

1 113 160
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: