Tuesday 16 July 2013


  1. To read session in jquery
       function getsessionsymbol() {/* for sessinssymbol*/
       var symbol ='<%= Session["CurrencySymbol"].ToString() %>';
       return symbol;
      }

  1. jquery like keyword
    $('div[id^="PlpSecpricediv_"]')

3.for trim in IE
if(!String.prototype.trim) {
 String.prototype.trim = function () {
   return this.replace(/^\s+|\s+$/g,'');
 };
}

4. how to  Convert json date :
json data return date in this format :

var value="/Date(1337878800000+0700)/";
if (value.substring(0, 6) == "/Date(")
{
;
}


7.   queryZero=queryZero.replace(/~/g, ',');(replace all ~ with , in jscript)
8. http://it-ebooks.info (online pdf book link)
10. var uagent = navigator.userAgent;
           if (uagent.search('Mobile') > -1|| uagent.search('Android')>-1) {
             }(find devise in jquery)
12.Response.ClearContent();(for clear aspx content.)
   Response.Write("false");
   Response.End()

13. http://www.addthis.com/(social sharing website.)
14.  function pageLoad() {  
       $(function(){
       //GridListFun();

       });
         
       }    //ready function for run script after ajax call

15. $('a.contact').toggle(function(){
   
// odd clicks
},
function(){
   
// even clicks
});  ///for alternate click

16.Convert.ToString(System.IO.Path.GetFileName(Request.PhysicalPath))

17.C:\Windows\system32>C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.
exe -i (configure iis)



No comments:

Post a Comment

रूस-यूक्रेन संकट लाइव: भारतीयों को 'उपलब्ध किसी भी साधन' के माध्यम से कीव को तत्काल छोड़ने के लिए कहा

  रूस यूक्रेन संकट लाइव: कीव में भारतीय दूतावास ने मंगलवार को जारी एक एडवाइजरी में भारतीयों को  'किसी भी उपलब्ध साधन' के माध्यम से क...