• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: newbie question AjaxSubmitButton and JQuery function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie question AjaxSubmitButton and JQuery function


  • Subject: Re: newbie question AjaxSubmitButton and JQuery function
  • From: David LeBer <email@hidden>
  • Date: Thu, 12 Apr 2012 21:00:58 -0400

The Ajax framework already has AjaxBusyIndicator.

Have you tried using it?

D

--
David LeBer
Codeferous Software

On 2012-04-12, at 8:50 PM, Mai Nguyen wrote:

> 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"; 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";
>
> }
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: newbie question AjaxSubmitButton and JQuery function (solved)
      • From: Mai Nguyen <email@hidden>
    • Re: newbie question AjaxSubmitButton and JQuery function
      • From: Mai Nguyen <email@hidden>
References: 
 >newbie question AjaxSubmitButton and JQuery function (From: Mai Nguyen <email@hidden>)

  • Prev by Date: newbie question AjaxSubmitButton and JQuery function
  • Next by Date: Re: newbie question AjaxSubmitButton and JQuery function
  • Previous by thread: newbie question AjaxSubmitButton and JQuery function
  • Next by thread: Re: newbie question AjaxSubmitButton and JQuery function
  • Index(es):
    • Date
    • Thread