IPL 2020 Latest News: Indian Premiere League News, Cricket News, IPL 13 Latest News


News18 Logo //zdwidget3-bs.sphereup.com/zoomd/SearchUi/Script?clientId=13172977 https://www.news18.com/cricketnext/'; var seriesId = '3978'; function top_widget_live_scores(){ //var jsonUrl = 'https://cricketnext.nw18.com/json/livescore/json/crosslivescores.json'; var weekday = ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]; var jsonUrl = 'https://cricketnext.nw18.com/json/crosslivescores.json'; //var jsonUrl = 'http://dev.news18.com/cricketnext/revamp/assests/json/crosslivescore.json'; var recentMatch = '

  • Final – 10 Nov, Tue]]>
  • Match Ended

    Mumbai beat Delhi by 5 wickets

  • Qualifier 2 – 8 Nov, Sun

    Match Ended

    Delhi beat Hyderabad by 17 runs

  • ‘; var upcomingMatch = ”; console.log(jsonUrl); $.ajax({ url : jsonUrl, type : ‘GET’, dataType : ‘jsonp’, jsonp : ‘jsonp’, jsonpCallback: ‘scores’, crossDomain : true, cache : true, success:function(data){ //console.log(data.matches); var liveMatchCount = data.matches.length; var webscorecardhtml = ”; if(liveMatchCount > 0){ var scoreBoxHtmlWEB = ”; var scoreBoxHtml = ”; var i = 0; for(var a=0; a

    ‘+matchNum+’ – ‘+matchDate[0]+’, ‘+matchDateday+’

    Live

    ‘+scorelive+’

    ‘+matchVenue+’

    ‘; } } webscorecardhtml = `${scoreBoxHtmlWEB}${scoreBoxHtml}${recentMatch}${upcomingMatch}`; //webscorecardhtml = scoreBoxHtmlWEB+scoreBoxHtml; }else{ //webscorecardhtml = `${scoreBoxHtml}${recentMatch}${upcomingMatch}`; } if(webscorecardhtml!=”){ $(‘#liveMatchBoxWEB’).html(webscorecardhtml); new Glide(‘.CN-scoreCard’, CN_view1).mount(); } }, error: function(error){ console.log(‘error in live score widget’); } }); } // inningwise live scores function function get_live_team_scores(scoresData){ //var teamAname = get_ipl_teams_short(scoresData.teama.name); var teamAfullName = scoresData.teama.full_name; var teamAname = scoresData.teama.name; if(scoresData.league!=’Other Domestic’ && scoresData.league!=’European Cricket’){ var teamAflag = scoresData.teama.image; var teamBflag = scoresData.teamb.image; }else{ var teamAflag = ‘https://xmlns.cricketnext.com/cktnxt/scorecard/crk_player_images/DefaultFlag-90×50-new.png’; var teamBflag = ‘https://xmlns.cricketnext.com/cktnxt/scorecard/crk_player_images/DefaultFlag-90×50-new.png’; } var teamAscores = scoresData.teama.scores; //var teamBname = get_ipl_teams_short(scoresData.teamb.name); var teamBfullName = scoresData.teamb.full_name; var teamBname = scoresData.teamb.name; var teamBscores = scoresData.teamb.scores; var matchType = scoresData.matchtype; var teamAScoreHtml = ”; var teamBScoreHtml =”; // CALCULATE TEAM A SCORES var teamATotalInnings = scoresData.teama.scores.length; if(teamATotalInnings > 0){ var x = 1; var innerBoxHtmlA = ”; for(var b = 0; b ‘+teamARuns+’/’+teamAWickets+’

    (‘+teamAOvers+’) RR ‘+teamArunrate+’

    ‘; }else if(scoresData.hasOwnProperty(‘isso’) && scoresData.isso==’yes’ && teamATotalInnings > 1){ innerBoxHtmlA = innerBoxHtmlA+’

    ‘+teamARuns+’/’+teamAWickets+’

    ‘; }else{ innerBoxHtmlA = innerBoxHtmlA+’

    ‘+teamARuns+’/’+teamAWickets+’

    (‘+teamAOvers+’) RR ‘+teamArunrate+’

    ‘; } x++; } var teamAScoreHtml = ‘

    ‘+innerBoxHtmlA+’

    ‘+teamAname+’

    '+teamAfullName+'‘; } // CALCULATE TEAM B SCORES var teamBTotalInnings = scoresData.teamb.scores.length; if(teamBTotalInnings > 0){ var y = 1; var innerBoxHtmlB = ”; for(var c = 0; c ‘+teamBRuns+’/’+teamBWickets+’

    Source

    Leave a Reply