Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
131952 | Aug 4,2017 02:56 PM UTC | Aug 7,2017 12:33 PM UTC | ASP.NET MVC | 1 |
![]() |
Tags: Tab |
<div style="width: 500px">
@{Html.EJ().Tab("URLTab").Items(data =>
{
data.Add().ID("URLTabQuickList").Text("Quick List").Url("../Content/QuickListTabContent.html");
}).Render();}
</div>
<input type="button" value="addItem" id="item"/>
<script>
$(function () {
$("#item").on("click", function () {
$.ajax({
url: '../Content/PartsTabContent.html',
datatype: "html",
success: function (data) {
var tabObj = $("#URLTab").data("ejTab");
tabObj.addItem("#URLTabParts", "Parts", 1);
$('#URLTabParts').html(data);
}
})
});
});
</script> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
or the page will be automatically redirected to sign-in page in 10 seconds.