or
var rawDiv = $("<div>").append( $("<div>").attr("id", idDiv).addClass("boxSlider " + other class).append ( $("<span>").addClass("cover"), $("<span>").addClass("description") ) ) return rawDiv.html();.boxSlider { display: inline-table; margin: 5px; overflow: hidden; position: relative;} .boxSlider .cover { width: 100%; height: 100%; line-height: 100px; position: absolute; text-align: center; display: block; color: #fff; font-weight: bold; font-size: 18px; } .boxSlider .cover .bsFooter { width: 100%; font-size: 14px; line-height: 15px; bottom: 10px; margin: 0; position: absolute; text-transform: uppercase; font-weight: normal; } .boxSlider .description { display: none; width: 100%; height: 100%; position: absolute; font-size: 12px; color: #fff; overflow-y: auto; } .boxSlider .description span { display: block; } .boxSlider .description p { margin-left: 10px; max-width: 280px; min-width: 240px; float: left; }BoxSliderAnimation: function () { $(".boxSlider").hover( function (e) { var div = $(e.currentTarget); kendo.fx(div.find(".description").css("display", "block")).tile("left", div.find(".cover")).play(); }, function (e) { var div = $(e.currentTarget); kendo.fx(div.find(".description")).tile("left", div.find(".cover")).reverse(); }); },<inputclass="fx-wg-relatedobject" name="privileges_class"
id="privileges_class" data-relatedclass="metaClassConfig" data-childclass="metaClassConfig" data-textfield="l" data-valuefield="v" style="width: 300px;" value="" data-translatedvalue="" />$('.fx-wg-relatedobject').livequery(function() { $(this) .removeClass('fx-wg-relatedobject') .kendoComboBox({ autoBind: false, dataSource: { type: "json", serverFiltering: true, transport: { read: { url: $(this).attr("data-json-url") , dataType: "json" } } }, dataTextField: $(this).attr("data-textfield"), dataValueField: $(this).attr("data-valuefield"), filter: "contains", text: $(this).attr("data-translatedvalue"), value: $(this).val() }) .trigger('fx_init'); });$("#privileges_class").change(function(e) { // code here to trigger ajax and fetch methds for the selected class...});$("#privileges_class").data("kendoComboBox");$("#privileges_class").data("kendoComboBox"); will in fact return undefined.
$('#').bind("fx_init", function(e) { if($(this).data("kendoComboBox") && !$(this).data("custom_event_handler_added")) { // The element has been converted into a kendoComboBox, and we have not yet added the custom event handler, so let's do it now... // first let's make sure this bit of code is not being called twice... $(this).data("custom_event_handler_added", true); // secondly let's add the event listener and bind it to the change event.. var classCombo = $(this).data("kendoComboBox"); classCombo.bind("change", function(e) { //code goes here } ); } }).trigger("fx_init");
<FONT color="#0000ff" size="1" face="Consolas"><FONT color="#0000ff" size="1"face="Consolas"><FONT color="#0000ff" size="1" face="Consolas">var property = trim(match[1].toLowerCase()),<BR> value = trim(match[2]);<BR></FONT></FONT></FONT>This is fixed by checking for != null first, I assume this is a bug?
property = trim(match[1].toLowerCase()),
value = trim(match[2]);

<script type="text/javascript" data-main="Scripts/main.js" src="Scripts/libs/require.js"></script>(function(){ requirejs.config( { baseUrl: 'Scripts/libs', paths: { plugins: '../app' } } ); // Start main app logic requirejs(['jquery-1.9.0.min', 'kendo.mobile.min'], function($,kendo){ var app = new kendo.mobile.Application(document.body, { platform: 'ios' }); });})();columns.Template(@<text> @if(String.IsNullOrEmpty(Model.DownloadURL(item.DocumentId,item.Name, item.ExtUrl))) { } else { <a href="@Model.DownloadURL(item.DocumentId,item.Name,item.ExtUrl)" title="Click to download"> }</text>).Title("Download")columns.Bound(p=>p.DocumentId).ClientTemplate(String.IsNullOrEmpty(@Model.DownloadURL("#=DocumentId#","#=Name#","#=ExtURL#)).ToString()).Title("Download")