Prakash

Prakash

  • NA
  • 258
  • 77.5k

Javascript

Jul 21 2015 12:43 AM
Hello Expert,
 
plz help..i want to display below javascript string in to div ..i am getting result but not display..
 
var resultHtml = "";

resultHtml +="<div class=\"panel-body\"style=\"background-color:#f5dcdc;width:1175px;height:100%\">" + "<h2>Result:</h2>" + "<a id=\"Wordlink\href=\"http://localhost:12702/WordDetailsM2E/Details/" + data.Id + "\"><div id=\"" + data.KeyWord + "\"></div></a>" + "<div id=\"" + data.Value + "\"></div>" + "<div id=\"" + data.WordType + "\"></div>" + "<div id=\"" + data.UseInSentence + "\"></div>" + "</div>"; 
 
 

Answers (11)