
Search In
<script type="text/javascript">
$(document).ready(function()
{
jQuery.validator.addMethod("require_from_group", function (value, element, options) {
var numberRequired = options[0];
var selector = options[1];
If you want to add client side validation in your web project using jQuery instead of server side validation like PHP, ASP.NET and JSP, then You have to include jQuery validate library in the head section of HTML.
jQuery library offer customize vali
ROW_NUMBER()
RANK()
DENSE_RANK()
All of these three functions are used to calculate the Id of row but in different way.
I am using the below script for examples
CREATE TABLE Marks
(
SubjectId INT,
Marks INT
)
INSERT INTO Marks VAL
Many of us have this requirement of sending private message to your facebook friends and we usally struggle to get it done. The main reason behind this is that graph api provided by facebook does not provide this. We have to look for other option whi
Hello All,
From the given blog below you will get to know about redirection of any form after submission or custom $form_state['redirect] in drupal 7:-
First you need to override form_alter by usind drupal hook function hook_form_alter. To change
Step-1 Install Audit Trail module
Step-2 After that custmozie .py(Python file) file: In below example, I have custmozied .py file. You can directly copy the below python code in your .py file:-
from openerp.osv import fields, osv
from openerp.osv.os
indexof() method
The indexOf() method gives the position of the first occurrence of a particular text in a string
Example
< !DOCTYPE html>
<p id="see">I am Very good person</p>
<button onclick="mydata()">result</
If you want to get the outstanding residual value in invoice currency in Odoo then follow the following code in your .py file.
# -*- coding: utf-8 -*-
import json
from lxml import etree
from datetime import datetime
from dateutil.relativedelta imp
In the below example I have created Progress Dialog with spinning wheel code function. Here I have used ProgressDialog function and I have used onClick method in the MainActivity class. And In Activity_main.xml I have added a button. See the below co
Hello Reader,
The below example will help you to create user custom sign-up using AJAX.
Please follow below steps to create WordPress custom sign-up.
1.) copy the below line and paste it to header,php file under section.
<script type='text/ja
