Posts

Showing posts from April, 2014

about me

Raja Maragani, Linköping Sweden. Expert in Java and related Frameworks. Working at the CI/CD organization responsible for developing, Support, Architecture. Involved in the development of Eiffel, a continuous integration framework.  The framework is used widely within Ericsson RnD and is currently moving to the open source arena, https://github.com/Ericsson/eiffel. Involved in Insurance product development with Single-page Application and Microservices.

Jquery validator for Phone Number and confirm password

Jquery validator The Jquery validator we can implement validations in two ways: Inline validations Validate method for more information go through the below link http://jqueryvalidation.org/documentation/ Here give code work for the valid phone number and confirm the password. Script < link rel = "stylesheet" type = "text/css" href = "css/jquery-ui-1.10.3.css" > < script src = "js/jquery.validate.js" type = "text/javascript" ></ script > $ ( "#formsubmit" ).live( 'click' , function () {      $ ( "#qApply" ).validate({           rules: {              phonenumber: {                 min:7000000000                    },          ...

File Upload using the JQuery and spring

File Upload function using the JQuery  The below function can used for the upload a file using jquery. For large files it may show error like script execution take more time and some times its hanges. $(document).on( 'change' , '.uploaddocument' , function () {                 var oMyForm = new FormData();                 oMyForm.append( "file" , this .files[0]);                 $.ajax({                   url: 'uploaddocument.html' ,                   data: oMyForm,                   dataType: 'text' , ...