ich bin dynamisch hinzufügen li tag zu UL .die folgende ist sehr komplex li tag, mit dem ich syntax issue.Could jemand bitte helfen, zu beheben folgenden tag. Alle grundlegenden Tutorials, um diese Art von Links auch groß zu bilden.jquery li binding ul syntax problem
Ich versuche, Link mit einigen Bedingungen zu binden.auf einen Link öffnet es eine neue Seite./
Sie tun etwas grundlegend falsch:
notifcationUL.append('<li><div class="pull-left"><a href="javascript:window.open(<%=ResolveUrl("~/App Web Pages/Generic/PageTableUIControl.aspx?Entity=Notifications&EntityObject=EIS_Notifications&UpdateModeLoad=false&WhereCondition=Main.[NotificationUserID]='"+ $("#hdnUser").val() + "' and Main.NotificationCreatedDate='" + today + "'%>",mywindowtitle)"><strong>See All Notifications</strong><i class="fa fa-angle-right"></i></a></div><div class="pull-right"> <a href="#" class="btn btn-sm btn-info removenotifications">Clear Notifications <span class="glyphicon glyphicon-trash pull-right "></span></a></div></li>');
Resolve url verwendet Client-Seite jquery werden kann. Ich habe den Code geändert. Können Sie überprüfen, und lassen Sie mich wissen, wo ich Fehler mache – MaheshMajeti