Hi All,
I am facing one strange issue while using AutoComplete control within div.
This div I am parsing as below:
// Setup Modals
[code]
$('#b-add-domain').bind('click', function(event)
{
event.preventDefault();
var $editModalHTML = $('#add-domain-modal').html();
$(this).colorbox(
{
html:$editModalHTML,
width:'255',
maxHeight:'700',
opacity:'0.65',
transition:'fade',
onLoad: function(){
$('#cboxClose').remove(); // remove the close button
},
onComplete: function(){
// setup scripting for modal
$('select').kendoComboBox();
//$('#account_no1').kendoAutoComplete();
// cancel modal buttons
$('.cancel-modal').bind('click', function(event){
event.preventDefault();
$.colorbox.close();
});
alert($editModalHTML);
}
});
[/code]
If I will keep my auto-complete control outside of this div then its working fine.
Please suggest solution for this.
I am facing one strange issue while using AutoComplete control within div.
This div I am parsing as below:
// Setup Modals
[code]
$('#b-add-domain').bind('click', function(event)
{
event.preventDefault();
var $editModalHTML = $('#add-domain-modal').html();
$(this).colorbox(
{
html:$editModalHTML,
width:'255',
maxHeight:'700',
opacity:'0.65',
transition:'fade',
onLoad: function(){
$('#cboxClose').remove(); // remove the close button
},
onComplete: function(){
// setup scripting for modal
$('select').kendoComboBox();
//$('#account_no1').kendoAutoComplete();
// cancel modal buttons
$('.cancel-modal').bind('click', function(event){
event.preventDefault();
$.colorbox.close();
});
alert($editModalHTML);
}
});
[/code]
If I will keep my auto-complete control outside of this div then its working fine.
Please suggest solution for this.