Hello List,
I wish to call a JQuery function to show or hide a DIV containing a busy indicator in an AjaxSubmitButton, but calling JQuery directly with the function show() or hide() does not seem to work. I am a newbie with JQuery, so I would really appreciate if someone can point me in the right direction.
Many thanks,
-mai
Assuming using jquery 1.3.2
<script src=""http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js">http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/_javascript_"></script>
here is the description: <!-- DIV description --> #myBusy { position:absolute; alignment-adjust: auto; display:none; // would this work for JQuery? }
.activityIndicator { description of the busy indicator }
<webobject name = "TestSubmitButton"/> <div id ='myBusy' class="activityIndicator">
TestSubmitButton: AjaxSubmitButton { action = testAction; value = "test"; onClick = "$('#myBusy').show();"; onComplete = "$('#myBusy').hide();"; updateContainerID = "SearchResultsDiv";
} |