1<!DOCTYPE html> 2<html lang="en-us" id="extr-page"> 3 4<head> 5
5<script src="/Scripts/jquery-1.6.4.min.js"></script>
5 6
6<script src="/Scripts/jquery.signalR-2.3.0.min.js"></script>
6 7
7<script src="/signalr/hubs"></script>
7 8
8<script src="/Scripts/SignalRChatting.js"></script>
8 9
9<script src="/Scripts/msc-script.js"></script>
9 10 <link href="/Content/css/msc-style.css" rel="stylesheet" /> 11 <meta charset="utf-8"> 12 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 13 <title>BIZHRS Portal </title> 14 <meta name="description" content=""> 15 <meta name="author" content=""> 16 17 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> 18 19 <link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/material.css" /> 20 <link href="/Content/css/CommonLoader.css" rel="stylesheet" /> 21 22 23
23<script src="https://cdn.syncfusion.com/ej2/dist/ej2.min.js"></script>
23 24 25 <!-- Basic Styles --> 26 <link href="/content/smartadmin?v=RaKrk2JjTLL4x_sOly0YVQAxaVTDnHSF0tI_8MdyFXQ1" rel="stylesheet"/> 27 28 <!-- FAVICONS --> 29 30 <link rel="shortcut icon" href="/content/img/Logo/Logo_Fevicon_PrimeroHR.png" type="image/x-icon"> 31 <link rel="icon" href="/content/img/Logo/Logo_Fevicon_PrimeroHR.png" type="image/x-icon"> 32
32<script src="/Scripts/ajaxloader.min.js"></script>
32 33 <!-- GOOGLE FONT --> 34 <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,300,400,700"> 35 36 <!-- Specifying a Webpage Icon for Web Clip 37 Ref: https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html --> 38 <link rel="apple-touch-icon" href="/content/img/splash/sptouch-icon-iphone.png"> 39 <link rel="apple-touch-icon" sizes="76x76" href="/content/img/splash/touch-icon-ipad.png"> 40 <link rel="apple-touch-icon" sizes="120x120" href="/content/img/splash/touch-icon-iphone-retina.png"> 41 <link rel="apple-touch-icon" sizes="152x152" href="/content/img/splash/touch-icon-ipad-retina.png"> 42 43 <!-- iOS web-app metas : hides Safari UI Components and Changes Status Bar Appearance --> 44 <meta name="apple-mobile-web-app-capable" content="yes"> 45 <meta name="apple-mobile-web-app-status-bar-style" content="black"> 46 47 <!-- Startup image for web apps --> 48 <link rel="apple-touch-startup-image" href="/content/img/splash/ipad-landscape.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape)"> 49 <link rel="apple-touch-startup-image" href="/content/img/splash/ipad-portrait.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait)"> 50 <link rel="apple-touch-startup-image" href="/content/img/splash/iphone.png" media="screen and (max-device-width: 320px)"> 51 52 <style> 53 .ContextItem { 54 background-color: #E1FCFF; 55 color: Black; 56 font-weight: normal; 57 } 58 59 .ContextItem:hover { 60 background-color: #0066FF; 61 color: White; 62 font-weight: bold; 63 } 64 65 .detailItem { 66 } 67 68 .detailItem:hover { 69 /* background-color: #99eae8;*/ 70 background-color: #F1F7FE; 71 border: 1px outset #222222; 72 cursor: default; 73 } 74 75 table { 76 min-width: 100%; 77 } 78 79 thead { 80 background-color: aliceblue /*#f1ca5e;*/ 81 } 82 83 table, th, td { 84 border: 1px solid #DCDCDC; 85 padding: 1px 5px 1px 5px; 86 font-family: 'Cambria Math'; 87 font-size: 13px 88 } 89 </style> 90</head> 91 92<body class="animated fadeInDown"> 93 <div id="welcome-messages"></div> 94 95 96 <!-- HEADER -->
97<script type="text/javascript"> 98 function GotoHome() { 99 var url = "/" 100 window.location.href = url 101 } 102</script>
102 103 104<header id="header"> 105 <div id="logo-group" style="width:40%"> 106 107 <!-- PLACE YOUR LOGO HERE --> 108 109 110 <span id="logo" onclick="GotoHome()"> <img src="/Content/img/Logo/Logo_PrimeroHR.png" id="logo_ccvv" alt="SmartSys" style="min-height:40px;min-width:200px;margin-top:-10px;cursor:pointer " height="150"> </span> 111 <!-- END LOGO PLACEHOLDER --> 112 </div> 113 <section id="top-right"> 114 115 <a href="/Home/PrivacyPolicyBizhrs" style="color:black;float:right;font-size:9px;margin-top:5px;top:">Privacy Policy</a> 116 117 </section> 118</header> 119 120 121 122<!-- END HEADER --> 123 124 125 126 <div id="main" role="main"> 127 128 129 130 131 132 133 134 135<div id="content" class="container"> 136 137 <div class="row"> 138 139 140 141 142 143 144 145 146<style> 147 img { 148 display: block; 149 margin-left: auto; 150 margin-right: auto; 151 } 152</style> 153<div class="col-xs-12 col-sm-12 col-md-7 col-lg-8 hidden-xs hidden-sm"> 154 <p style="text-align:center;color:#00A5CA;font-size:25px" id="LoginPage_MidHeader">BIZHRS Portal</p> 155 <div class="hero"> 156 <div class="row"> 157 <div class="col-xs-12 col-sm-12 col-md-6 col-lg-12"> 158 <img src="/Content/img/Logo/Logo_Fevicon_PrimeroHR.png" id="LoginPage_MidLogog"/> 159 </div> 160 161 162 </div> 163 164 165 166 </div> 167 168 169</div> <div class="col-xs-12 col-sm-12 col-md-5 col-lg-4"> 170 <div class="well no-padding"> 171 <form action="/account/login" method="POST" id="login-form" class="smart-form client-form"> 172 <header> 173 174 Sign in 175 </header> 176 177 178 <input name="__RequestVerificationToken" type="hidden" value="sNCURQFOcrk-AsWA66ZI8M-wgTjQ2En5abiiBOYx4ZODKWtdQmiGAWUgxzFNzos7u6l2_7uXRjxU9e0iHZX_b99llXqmZlUpXWWVAJzIL8Q1" /> 179 180 <fieldset> 181 182 <section> 183 <label class="label">Client Code</label> 184 <label class="input"> 185 <i class="icon-append fa fa-user-md"></i> 186 <input type="hidden" id="ClientCodestatus" value="" hidden="hidden"> 187 <input type="text" name="ClientCode" id="ClientCode" onchange="ChkClientCode()" value="bizhrs" maxlength="20" autocomplete="off"> 188 <b class="tooltip tooltip-top-right"><i class="fa fa-user txt-color-teal"></i> Please enter User Code</b> 189 </label> 190 </section> 191 <section> 192 <label class="label">User Name</label> 193 <label class="input"> 194 <i class="icon-append fa fa-user"></i> 195 <input type="text" name="Email" id="Email" value="" readonly="readonly"> 196 197 </label> 198 </section> 199 200 <section> 201 <label class="label">Password</label> 202 <label class="input"> 203 <i class="icon-append fa fa-eye-slash"></i> 204 <input type="password" name="Password" id="Password" value="" readonly="readonly"> 205 <b class="tooltip tooltip-top-right"><i class="fa fa-lock txt-color-teal"></i> Enter your password</b> 206 </label> 207 <div class="note"> 208 <a href="/account/forgotpassword" style="text-decoration:underline"><i class="fa fa-frown-o"></i> Forgot password?</a> 209 </div> 210 <section class=""> 211 <p class="note"> 212 Passwords must be at least <b>6</b> characters.Passwords must have at least one <b>special character</b> , 213 at least one digit<b> ('0'-'9')</b>,at least one lowercase<b> ('a'-'z')</b>, 214 and at least one uppercase<b> ('A'-'Z')</b>. 215 216 </p> 217 </section> 218 </section> 219 220 <section hidden> 221 <label class="checkbox"> 222 <input type="checkbox" name="RememberMe" value="false"> 223 <input type="hidden" name="rememberMe" value="false" /> 224 <i></i>Stay signed in 225 </label> 226 </section> 227 </fieldset> 228 <footer> 229 <button type="submit" class="btn btn-primary" style="padding:0px 30px!important"> 230 Sign in 231 </button> 232 </footer> 233 234 </form> 235 </div> 236 237 238 </div> 239 </div> 240 241 242</div> 243 244 245<style> 246 247 248 #header1-content { 249 top: 0; 250 right: 0 251 } 252</style> 253
254<script> 255 function ChkClientCode() { 256 257 $.ajax({ 258 type: 'POST', 259 url: '/Account/ClearLocalcookie', // we are calling json method 260 dataType: 'json', 261 success: function (Status) { 262 var T = $('#ClientCode').val(); 263 var path = '/account/setclientcodeincookies'; 264 $.ajax({ 265 type: 'POST', 266 url: path, // we are calling json method 267 dataType: 'json', 268 data: { ClientCode: T }, 269 success: function (Status) { 270 if (Status == "Error") { 271 $('#ClientCodestatus').val("NO"); 272 $("#Email").attr("readonly", true); 273 $("#Password").attr("readonly", true); 274 $.smallBox({ 275 title: "This Client Code does not exists...", 276 color: "red", 277 iconSmall: "fa fa-times bounce animated", 278 timeout: 5000 279 }); 280 $('#ClientCode').css("border-color", "red") 281 } 282 else { 283 $('#ClientCodestatus').val("Yes"); 284 $("#Email").attr("readonly", false); 285 $("#Password").attr("readonly", false); 286 //location.reload(); 287 } 288 $('#ClientCode').css("border-color", "black") 289 }, 290 error: function (ex) { 291 $('#ClientCodestatus').val("NO"); 292 $("#Email").attr("readonly", true); 293 $("#Password").attr("readonly", true); 294 $.smallBox({ 295 title: "This Client Code does not exists...", 296 color: "red", 297 iconSmall: "fa fa-times bounce animated", 298 timeout: 5000 299 }); 300 } 301 }); 302 } 303 }); 304 305 } 306 //function submitFP() { 307 // var ClientCode = $('#ClientCode').val(); 308 // if (ClientCode == "") { 309 // $.smallBox({ 310 // title: "Please Enter Client Code.", 311 // color: "orange", 312 // iconSmall: "fa fa-times bounce animated", 313 // timeout: 5000 314 // }); 315 // return false; 316 // } 317 // var ClientCodestatus = $('#ClientCodestatus').val(); 318 // if (ClientCodestatus == "NO") { 319 // $.smallBox({ 320 // title: "Please Enter valid Client Code.", 321 // color: "orange", 322 // iconSmall: "fa fa-times bounce animated", 323 // timeout: 5000 324 // }); 325 // return false; 326 // } 327 // $('#login-form').submit(); 328 //} 329</script>
329 330 331<!-- Link to Google CDN's jQuery + jQueryUI; fall back to local -->
332<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
332
333<script> if (!window.jQuery) { document.write('
333<script src="/scripts/libs/jquery-2.1.1.min.js"><\/script>'); } </script>
333
334<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
334
335<script>if (!window.jQuery.ui) { document.write('
335<script src="/scripts/libs/jquery-ui-1.10.3.min.js"><\/script>'); }</script>
335 336 337<!-- IMPORTANT: SmartAdmin Core -->
338<script src="/scripts/smartadmin?v=vU2CJY9pRn356KdcZW89oV8kcobzVTOTl3c6vBSiJ5c1"></script>
338 339 340 341 342<!-- Voice command : plugin -->
343<script src="/scripts/speech/voicecommand.min.js"></script>
343 344 345<!-- SmartChat UI : plugin -->
346<script src="/scripts/smart-chat?v=7xCEHbRBCKHoqfLqgiUqn4ikvm6BvDKY3bvstRVbJBc1"></script>
346 347 348 349<!-- DataTables : plugin -->
350<script src="/scripts/datatables?v=pYJndiLvBjLcpgUSYW4-bNcgpWu6xw2RFfv0iFMNJH81"></script>
350 351 352 353<!-- jQGrid : plugin -->
354<script src="/scripts/jq-grid?v=L1AX-xnLavbn458ZXeThzE16tCbNkQbEayEkP5xOs6A1"></script>
354 355 356 357<!-- Forms : plugin -->
358<script src="/scripts/forms?v=tagOowOv9G_o7dXkvkWzD9plfcMgv9nBUvHJYqW2gv01"></script>
358 359 360 361<!-- Flot Chart Plugin: Flot Engine, Flot Resizer, Flot Tooltip, Morris, Sparkline, EasyPie -->
362<script src="/scripts/charts?v=Kk5yXqT6l0l9ETfUXsg5BOLU9evbG15tqhJtGyPLCG01"></script>
362 363 364 365<!-- Vector Maps Plugin: Vectormap engine, Vectormap language -->
366<script src="/scripts/vector-map?v=j8-En9p1I4BbLDx30_T8UMV1Q2hB6WWJ0X4qxWDWBxw1"></script>
366 367 368 369<!-- Full Calendar -->
370<script src="/scripts/full-calendar?v=rEqjV2sUQDaHH0-x-oBzEou5-7ftLbqaDPE9YEAmnrI1"></script>
370 371 372 373<!-- DO NOT REMOVE : GLOBAL FUNCTIONS! -->
374<script> 375 $(document).ready(function () { 376 pageSetUp(); 377 drawBreadCrumb(); 378 }); 379</script>
379 380 381 382
382<script type="text/javascript"> 383 $(function () { 384 // Validation 385 $("#login-form").validate({ 386 // Rules for form validation 387 rules: { 388 email: { 389 required: true, 390 email: false 391 }, 392 password: { 393 required: true, 394 minlength: 3, 395 maxlength: 20 396 } 397 }, 398 399 // Messages for form validation 400 messages: { 401 email: { 402 required: 'Please enter your email address', 403 email: 'Please enter a VALID email address' 404 }, 405 password: { 406 required: 'Please enter your password' 407 } 408 }, 409 410 // Do not change code below 411 errorPlacement: function (error, element) { 412 error.insertAfter(element.parent()); 413 } 414 }); 415 }); 416 </script>
416 417
417<script> 418 $(document).ready(function (e) { 419 420 $('#ClientCodestatus').val("NO"); 421 var ClientCode = 'bizhrs' 422 if (ClientCode != "") { 423 $.ajax({ 424 type: 'POST', 425 url: '/Account/ClearLocalcookie', // we are calling json method 426 dataType: 'json', 427 success: function (Status) { 428 var path = '/account/setclientcodeincookies'; 429 $.ajax({ 430 type: 'POST', 431 url: path, // we are calling json method 432 dataType: 'json', 433 data: { ClientCode: ClientCode }, 434 success: function (Status) { 435 if (Status == "Error") { 436 $('#ClientCodestatus').val("NO"); 437 $.smallBox({ 438 title: "This Client Code does not exists...", 439 color: "red", 440 iconSmall: "fa fa-times bounce animated", 441 timeout: 5000 442 }); 443 $('#ClientCode').css("border-color", "red") 444 } 445 else { 446 $('#ClientCodestatus').val("Yes"); 447 $("#Email").prop('readonly', false); 448 $("#Password").prop('readonly', false); 449 } 450 $('#ClientCode').css("border-color", "black") 451 }, 452 error: function (ex) { 453 $('#ClientCodestatus').val("NO"); 454 $.smallBox({ 455 title: "This Client Code does not exists...", 456 color: "red", 457 iconSmall: "fa fa-times bounce animated", 458 timeout: 5000 459 }); 460 } 461 }); 462 }, 463 error: function (ex) { 464 $('#ClientCodestatus').val("NO"); 465 $("#Email").attr("readonly", true); 466 $("#Password").attr("readonly", true); 467 $.smallBox({ 468 title: "This Client Code does not exists...", 469 color: "red", 470 iconSmall: "fa fa-times bounce animated", 471 timeout: 5000 472 }); 473 } 474 }); 475 476 } 477 var str = ''.toString(); 478 if (str.toString() == "" || str == null) { 479 return false; 480 } 481 else { 482 483 $.smallBox({ 484 title: '', 485 color: "red", 486 iconSmall: "fa fa-times bounce animated", 487 timeout: 5000 488 }); 489 490 } 491 }); 492 </script>
492 493
493<script> 494 $(document).ready(function (e) { 495 var src = '/Content/img/Logo/' + 'Logo_Fevicon_PrimeroHR.png'; 496 var headerLogoSrc = '/Content/img/Logo/' + 'Logo_PrimeroHR.png'; 497 $("#LoginPage_MidHeader").text('BIZHRS'); 498 $("#LoginPage_MidLogog").attr("src", src); 499 $("#LoginPage_TagLine").text('Hope you are having a great day.'); 500 $("#logo_ccvv").attr("src", headerLogoSrc); 501 }); 502 </script>
502 503<!-- Your GOOGLE ANALYTICS CODE Below--> 504 505 506 </div> 507 508
508<script></script>
508 509 510 511</body> 512 513</html>
514<script> 515 $(document).ready(function () { 516 //$('.breadcrumb').append("<li style='cursor:pointer' >Dashboard</li>") 517 for (var i = 0; i < localStorage.length; i++) { 518 // do something with localStorage.getItem(localStorage.key(i)); 519 // alert(localStorage.getItem(localStorage.key(i))); 520 } 521 $(function () { 522 $(".dropdownList").select2({ 523 placeholder: "Please Select", 524 allowClear: true, 525 maximumSelectionLength: 2 526 }); 527 }); 528 }) 529</script>
529 530
531<script> 532 $(document).ready(function () { 533 var islocalinstallclient = ''; 534 if(islocalinstallclient == "") 535 { 536 $('#OnlineUsers').hide(); 537 } 538 539 $.ajax({ 540 type: 'POST', 541 url: "/Dashboard/ChkCookiesCodeExist", 542 dataType: 'json', 543 success: function (result) { 544 if ('False' == 'True') { 545 if (result) { 546 547 $.ajax({ 548 type: 'POST', 549 url: "/Dashboard/GetImageByte", 550 dataType: 'json', 551 data: {}, 552 success: function (lst) { 553 document.getElementById("LoginPersonImage").src = "data:image/png;base64," + lst; 554 document.getElementById("verticalImage1").src = "data:image/png;base64," + lst; 555 return false; 556 }, 557 error: function (ex) { 558 559 } 560 }); 561 562 $.ajax({
563 type: 'POST', 564 url: "/Dashboard/GetUserName", 565 dataType: 'json', 566 data: {}, 567 success: function (lst) { 568 if (lst[1]) { 569 $('#Header_Login_Detail_txt').text(lst[1]); 570 } else { 571 $('#Header_Login_Detail_txt').text("No login User"); 572 } 573 574 $('#Header_Company_Detail_txt').text(lst[0]); 575 $('#myChatWindowId').val(lst[4]); 576 $('#myChatUserName').val(lst[5]); 577 if (parseInt(lst[2]) > 0) 578 $('#NewsEvtClkId').click(); 579 return false; 580 }, 581 error: function (ex) { 582 583 } 584 }); 585 586 587 $.ajax({
588 type: 'POST', 589 url: "/Admin/GetPendingNotificationCount", // we are calling json method 590 dataType: 'json', 591 success: function (TotalCount) { 592 var str = TotalCount.split(','); 593 var Ncount = str[0]; 594 var Mcount = str[1]; 595 var Tcount = parseFloat(str[0]) + parseFloat(str[1]); 596 597 $("#AllNotificationCount").html(Tcount) 598 $("#NotifyLabel").html("Notification (" + Ncount + ")") 599 $("#MsgsLabel").html("Msgs (" + Mcount + ")") 600 601 } 602 }); 603 } 604 } 605 606 }, 607 error: function (ex) { 608 609 } 610 }); 611 612 }) 613</script>
613 614
615<script language="javascript" type="text/javascript"> 616 617 function ShowMenu(control, e) { 618 619 var xp = +e.clientX; 620 var xy = +e.clientY; 621 var posx = xp + 'px'; 622 var posy = xy + 'px'; 623 document.getElementById(control).style.position = 'absolute'; 624 document.getElementById(control).style.display = 'inline'; 625 document.getElementById(control).style.left = posx; 626 document.getElementById(control).style.top = posy; 627 var jqContext = '#' + control; 628 629 630 } 631 function HideMenu(control) { 632 633 $(".CM").attr('id', control); 634 document.getElementById(control).style.display = 'none'; 635 636 } 637 function CustomClearFilter(a) { // clear filters for page state save . a = id for individual page table 638 localStorage.setItem(a, ""); 639 location.reload(); 640 } 641</script>
641 642<style> 643 .overlay { 644 position: absolute; 645 top: 0; 646 left: 0; 647 width: 100%; 648 height: 100%; 649 z-index: 1000; 650 } 651</style> 652<div style="display:none;background-color:orangered" id="5" class="CM"> 653 <table border="0" cellpadding="0" cellspacing="0" 654 style="border: thin solid #808080 ;background-color:forestgreen" ; cursor default;" width="150px " bgcolor="red"> 655 <tr> 656 <td> 657 <div data-toggle="modal" href="#DialogForm" onclick="Context($('.CM').attr('id') + ',' + 'Add');;" onmouseup="ShowMenu('contextMenu', 'none', event);" class="ContextItem">Add</div> 658 </td> 659 </tr> 660 <tr> 661 <td> 662 <div data-toggle="modal" href="#DialogForm" onclick="Context($('.CM').attr('id') + ',' + 'Edit');" onmouseup="ShowMenu('contextMenu', 'none', event);" class="ContextItem">Edit</div> 663 </td> 664 </tr> 665 <tr> 666 <td> 667 <div onclick="Context($('.CM').attr('id')+','+ 'Delete');" onmouseup="ShowMenu('contextMenu', 'none', event);" class="ContextItem">Delete</div> 668 </td> 669 </tr> 670 </table> 671</div> 672 673<div id="dvCommonLoader" class="overlay" style="text-align:center; background:rgba(0, 54, 54, 0.5); display:none"> 674 <div class="cube-wrapper"> 675 <div class="cube-folding"> 676 <span class="leaf1"></span> 677 <span class="leaf2"></span> 678 <span class="leaf3"></span> 679 <span class="leaf4"></span> 680 </div> 681 <span class="loading" data-name="Loading">Loading</span> 682 </div> 683</div>
684<script> 685 $(document).ready(function () { 686 $('#CustPf').hide(); 687 $('#Chngpasswd').hide(); 688 $('#divd1').hide(); 689 690 }) 691</script>
691
692<script> 693 $(document).ready(function () { 694 $('#smart-topmenu').prop('checked', true); 695 localStorage.setItem('sm-setmenu', 'top'); 696 697 $('#smart-style-0').prepend("<i class='fa fa-check fa-fw' id='skin-checked'></i>"); 698 $('html').removeClassPrefix('smart-style') 699 .addClass(localStorage.getItem('sm-smart-styles')); 700 $('#smart-style-0').click(); //#d7d4e2 701 //if (localStorage.getItem('sm-setmenu') == 'left') { 702 // $('#smart-topmenu').prop('checked', false); 703 // alert("in left"); 704 //} 705 //else { 706 // $('#smart-topmenu').prop('checked', true); 707 // localStorage.setItem('sm-setmenu', 'top'); 708 // alert("in top"); 709 //} 710 // 711 //var elem = document.querySelector('[data-chat-id="cha238"]'); 712 //elem.click(); 713 //This is the Place where we need to invoke all the active chat sessions. Commented By AjitWadkar 714 }); 715 $("#OnlineUsers").dblclick(function () { 716 717 objhub.server.getLiveUsersList() 718 .done(function (data) { 719 alert(data); 720 }); 721 722 }); 723 $("#OnlineUsers").click(function () { 724 725 726 if ($("#chat-container").hasClass("open")) { 727 $("#chat-container").removeClass("open") 728 $("#chat-container").addClass("closed") 729 } else { 730 $("#filter-chat-list").val(""); 731 FilterListFunction(); 732 $("#chat-container").addClass("open"); 733 $("#chat-container").removeClass("closed"); 734 } 735 }) 736 737 function getElementByAttribute(attr, value, root) { 738 root = root || document.body; 739 if (root.hasAttribute(attr) && root.getAttribute(attr) == value) { 740 return root; 741 } 742 var children = root.children, 743 element; 744 for (var i = children.length; i--;) { 745 element = getElementByAttribute(attr, value, children[i]); 746 if (element) { 747 return element; 748 } 749 } 750 return null; 751 } 752</script>
752 753
754<script src="/Scripts/Formsetting.js"></script>
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.