1function checkPraName() 2{ 3 if(document.getElementById) 4 { 5 var e = document.getElementById("alogin"); 6 var t = document.getElementById("txtPraName").value 7 } 8 else if(document.all) 9 { 10 var e = document.all("alogin"); 11 var t = document.all("txtPraName").value 12 } 13 14 15 $.getJSON("https://mmdpas.modulemd.com/ITPortal/Practice/GetPracticeURLByAccountName?accountName="+ t + "&callback=?", function (data) { 16 //debugger; 17 if (data != null && data != '') 18 { 19 window.location.href = data; 20 } 21 else 22 { 23 $.getJSON("https://mmdqas.modulemd.com/ITPortal/Practice/GetPracticeURLByAccountName?accountName="+ t + "&callback=?", function (data) { 24 //debugger; 25 if (data != null && data != '') 26 { 27 window.location.href = data; 28 } 29 else 30 { 31 $.getJSON("https://mmdras.modulemd.com/ITPortal/Practice/GetPracticeURLByAccountName?accountName="+ t + "&callback=?", function (data) { 32 //debugger; 33 if (data != null && data != '') 34 { 35 window.location.href = data; 36 } 37 else 38 { 39 // * Rajabasha commented this 16th Jan 2013 * if(t != ""){var n = t; var r = document.URL; var i = r.split("//"); var s = i[1].split("/"); if(s.length > 1){window.location.href = n}else{window.location.href = "/" + n}} 40 41 /* this has been added by Rajabasha, @as per Mr. Aditya, if user enters invalid practice id, I am redirecting to Failure page(failure.html ? failure_msg = ) and display user entered parameter through Query String / URL Encoding 42 16th Jan 2013 @ 11 : 34am */ 43 if(t != "" && t !== "---- Practice Name ----") 44 { 45 var n = t; 46 var r = document.URL; 47 var i = r.split("//"); 48 var s = i[1].split("/"); 49 if(s.length > 1) 50 { 51 // window.location.href = n 52 // window.location.href = "failure.html?failure_msg=The Practice identifier <" + n + "> was unidentified or unknown" 53 window.location.href = "failure?failure_msg=The Practice name of " + n + " is unknown" 54 // The practice name of < navastma > is unknown. 55 } 56 else 57 { 58 window.location.href = "/" + n 59 } 60 } 61 } 62 }); 63 } 64 }); 65 } 66 }); 67} 68 69 70/* function CaptureKey(e){ 71evt = e || window.event; 72if(evt.keyCode == 13){ 73document.getElementById('alogin').focus(); 74return true} 75return true 76} */ 77 78 79/* Rajabasha commented this on 16th Jan 2013 @ 11 am 80$(document).ready(function(){ 81$("#txtPraName").focus( function(){ 82$("span.tip").css("display", "block").fadeOut(1600) 83}) 84$("#txtPraName").keyup(function(event){ 85if(event.keyCode == 13){ 86$("#alogin").click(); 87} 88}); 89}) 90 */ 91 92 93$(document).ready(function() 94{ 95 $('footer').find('p').text('Copyright © 2001 - 2015 ModuleMD LLC. All Rights Reserved ').append(' ' 96 + '<a href=" http://www.linkedin.com/company/953834?trk=eml-cp_mktg-btn-poster-20121120 " target="_blank" title="linkedin icon">' 97 + '<img src=" http://cdn5.iconfinder.com/data/icons/WPZOOM_Social_Networking_Icon_Set/24/linkedin.png " style="vertical-align:middle; width: 24px; height: 24px;" alt="linkedin"></a>'); 98 // has been included to reflect in all page footer copyright @ 2001 - 2013 16th Jan @ 11 : 30am 99 $("span.tip").css( 100 { 101 display : 'block', 'text-align' : 'center', 'text-shadow' : '1px 1px 0 rgba(255, 255, 255, 0.4)' 102 } 103 ).text('Enter your practice name here'); 104 /* tip displays by default */ 105 $("#txtPraName").focus(); 106 /* setting auto focus for practice Name entry filed */ 107 $("#txtPraName").val(""); 108 /* once the control auto focus, '---- practice name ----' will be disappears, */ 109 110 $("#txtPraName").keydown(function() 111 { 112 emptyOrHasValue(); 113 } 114 ); 115 $("#txtPraName").keyup(function() 116 { 117 emptyOrHasValue(); 118 } 119 ); 120 $(document).click(function() 121 { 122 emptyOrHasValue(); 123 124 } 125 ) 126 function emptyOrHasValue() 127 { 128 if( $("#txtPraName").val() != '' || $("#txtPraName").val().length > 0 ) 129 { 130 $("span.tip").fadeOut(300);
131 } 132 else 133 { 134 $("span.tip").css( 135 { 136 display : 'block', 'text-align' : 'center' 137 } 138 ).text('Enter your practice name here'); 139 } 140 } 141 $("#txtPraName").keyup(function(event) 142 { 143 if(event.keyCode == 13) 144 { 145 $("#alogin").click(); 146 } 147 } 148 ); 149})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.