Hi,
I am using Javascript, most of the stuffs are working only by javascript. Sometimes the javascript functions are not called properly.
Can someone give fair idea about how to use use javascript,where to use javascript,what situation we need to use javascript etc...
One Scenario:-
$("#dialog").bgiframe({src:"about:blank"});
CreateExternalLinks();
if(jsonData._items.length>0)
FillData(jsonData);
HideDIV();
HandleRating();
//FindDefaultSearch();
SetPageStyle();
//HandleDefaultVideo();
HideInvite();
DialogAction("close");
SetSearchBoxTitle();
LoadWaitingDialog();
SetStyleForNewVideos();
$("div.home-video-rating").live("mouseout",function(){
SetRating($currentRate);
});
SetPaging();
if($("#divTitle").html().length==0)
FindDefaultVideo();
}
These are functions that should call once the page is loaded on the client side.
Sometimes LoadWaitingDialog() is not called. I don't know the reason?