round
04-11-2013, 01:08 PM
I do not get Ajax Loading Image in Chrome and IE.
I am getting this image with Firefox only.
Can anyone help me to solve this ?
My Code is as below.
Its not a css problem, My "loading" block do not get display "block" i checked through inspecting Element.
Thanks for any help.
<script>
function FillInBox(val,id){
$('#loading').show();
$("#DisplayTemplates").hide(); // Hide Templates
$("#DisplayImage").hide();
$("#DisplayTemplates").hide();
$("#DisplayDocument").hide();
$("#DisplaySectionCover").hide();
$("#DisplayResume").hide();
//Function to Get Proposal Data i.e Name,Desc,ID Using Ajax Call.
var datastring=val;
$.ajax({
url: "?page=ajax_subservices&action=view,
type:"POST",
async: false,
data:'',
success: function(data)
{
$('#loading').hide();
CKEDITOR.instances['event_description'].setData(data);
}
});
}
</script>
<div style="display:none;" id="loading"><img id="loadingImg" alt="Loading..." src="images/loading.gif" style="position:absolute;margin: 20px 0 0 500px;"></div>
<div class="editsubsection" onclick="FillInBox('val1','val2')"></div>
I am getting this image with Firefox only.
Can anyone help me to solve this ?
My Code is as below.
Its not a css problem, My "loading" block do not get display "block" i checked through inspecting Element.
Thanks for any help.
<script>
function FillInBox(val,id){
$('#loading').show();
$("#DisplayTemplates").hide(); // Hide Templates
$("#DisplayImage").hide();
$("#DisplayTemplates").hide();
$("#DisplayDocument").hide();
$("#DisplaySectionCover").hide();
$("#DisplayResume").hide();
//Function to Get Proposal Data i.e Name,Desc,ID Using Ajax Call.
var datastring=val;
$.ajax({
url: "?page=ajax_subservices&action=view,
type:"POST",
async: false,
data:'',
success: function(data)
{
$('#loading').hide();
CKEDITOR.instances['event_description'].setData(data);
}
});
}
</script>
<div style="display:none;" id="loading"><img id="loadingImg" alt="Loading..." src="images/loading.gif" style="position:absolute;margin: 20px 0 0 500px;"></div>
<div class="editsubsection" onclick="FillInBox('val1','val2')"></div>