Posts

Progress bar in jquery blockui

The progress bar are mostly used in user friendly interface that user can know the process status and gets the result.Here the jquery as library name blockui where is process the progress bar while requesting the server in back end. Recently i was using the ajax functionality often and embedded the progress bar gif file,after the find the block ui  jquery library  in https://malsup.github.io/jquery.blockUI.js By implementing script on top as <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>             <script src="https://malsup.github.io/jquery.blockUI.js"></script> just implementing the function like     var showProgress = function() {     $.blockUI({ message: '<img src="3.GIF" />' });     };         var hideProgress = function() {     $.unblockUI...

Two types of javascript object

 The JavaScript is object based scripting language and so mostly the object is used access the value or function in which there are several types in it they are This are the two types that are used to access object and its properties. object literal object array try{   sr={};//object literal sd=[];//object array   rds:function pl = new Object(); pl.s="sam"; pl.d=1; pl.c="dadawd"; sr.s="samuel"; sd.s="jar"; alert(pl.s); alert(sr.s); alert(sd.s); } catch(err) {     alert(err.message); }

happy ganesh chaturthi 2014

Image

curl error handling method

The post data using curl php and  curl error handling can be checked using the curl_errno() function in curl,which get error no of the exception occured while running the curl file.like I was working on an api in which i used following code i had error no of 28 which is know as request time out,so according to curl there several error no with detail. php curl examples php curl code: error_reporting(E_ALL); ini_set('display_errors', 1); try{ $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_URL,     'http://example.com'); curl_setopt($ch, CURLOPT_TIMEOUT, 60); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $content = curl_exec($ch); $curlerrno = curl_errno($ch); curl_close($ch); print $curlerrno; var_dump($content); }catch (Exception $e) {     echo 'Caught exception: ',  $e-&gt;getMessage(), "\n"; } list of error number: $error_codes =array( [ 1 ] => 'CURLE_UNSUPPORTED_PRO...

TUBEZ - Radiation-Free Air tube Headset www.Smart-Safe.com

Image

online seo tools and sites

This links will surely helps to get indexed and increase page rank in google and bing engine with help of Ghost page. get indexed in google Get indexed in Bing   ghost sitemap generator     ghost seo tricks What is ghost page in seo? ans: what is ghost page in seo?

php: nested if in select tag

nested if needs to be grouped to avoid unexpected error: Ex: // //Parse error: parse error, unexpected ':' $slect='<option value="1" '.$val== "1" ? 'selected="selected"' :''.'>slect1</option>'; //Work: $slect='<option value="1" '.($val == "1" ? 'selected="selected"' :'').'>slect1</option>'; echo $var;