Hello,
I am creating dynamically generated divs using js.
it conatins graph and i was unable to display it.
can anyone help on same?
here is my jquey code,
- function createSSFeed(ajaxResponseList, i) {
-
-
- var divCrDate = "<div class='row' style='width: 100%; background-color: #fff;border-bottom:2px dashed #d0d0d0;border-top:none;'>";
- divCrDate += "<div class='row'>"
- divCrDate += "<div class='col-lg-6 col-md-6 col-sm-6 col-xs-12'>"
- divCrDate += "<img width='100%' src='src' alt=''>";
-
- divCrDate += "<label ID='lbl_Date'>" + ajaxResponseList.sso_title + "</label>";
- divCrDate += "</div>";
- divCrDate += "<div class='col-lg-6 col-md-6 col-sm-6 col-xs-12'>"
- divCrDate += "<div id='basicflot' class='flotGraph'></div>";
- divCrDate += "</div>";
- divCrDate += "</div>";
- divCrDate += "</div>";
- return divCrDate;
- }
Above code works fine but how to plot the graph in this code.
Thanks in advance.
ketan.