jQuery Form Validation Example

jQuery Form Validation Example: We used to validate the form using javascript and there we have to write our own logics to validate the email, phone number and mandatory fields etc…. But now jquery validate plugin is available for ease of form validations. Include the below scripts: <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.js"></script> Form need to be validated: <form method="post" action="signup.php?retrun=http://www.gururecharge.chudar.com/terms.php" id="validate_form" […]

475 total views, 1 views today

» Read more

How to use property file in php ?

How to use property file in php ? What is Property file ? Property file in php will have the .ini extension. which will be used generally for the constant informations like website_url, filepaths and key, value mappings etc. Extension: Its a .ini extension. Sample Property file: prop.ini: Idea=12 Airtel=2 Aircel=1 (or) Idea=12; Airtel=2; Aircel=1; PHP Code to get the […]

474 total views, 2 views today

» Read more

Removing Featured Image from post and search result wordpress [Solved]

Removing Featured Image from post and search result wordpress: 1. Comment the below snippet from the single.php (in some themes file names may vary. (vantage theme -> content-single.php)) <!– <?php if( has_post_thumbnail() && siteorigin_setting(‘blog_featured_image’) ): ?> <div class="entry-thumbnail"><?php the_post_thumbnail( is_active_sidebar(‘sidebar-1’) ? ‘post-thumbnail’ : ‘vantage-thumbnail-no-sidebar’ ) ?></div> <?php endif; ?> –> If you comment the above snippet, it will remove the […]

398 total views, 1 views today

» Read more