JavaScript, Mootools help anyone?

Hi all, I'm using the mootools JavaScript library to make the
Accordion effect. And I have little expand/collapse characters
within my togglers. [+]/[--]. Now this is the code I'm using for my
toggler.
<div class="toggler">
<div class="toglabel">Relative 1:</div>
<div class="togtext">
<span class="floatr"><a href="#relative1">Expand
Details [+]</a>  </span>
<a href="#relative1">Anthony J Rubino</a>
</div>
</div>
The problem is, the way my code is currently, it swaps the
entire contents of the "toggler" div. I would like for it to only
swap out the content inside the anchor element. There has to be a
way, I'm just not sure how...
Attached is my javascript (based on prototype) code.

Thanks for the prompt reply. Will look in to the links. Meanwhile what i wanna do is that i wanna open another window in the onclick window using the window.open() and at the same time invoke a method in the bean for executing some business logic required to render the new page that will open from window.open().
If i do the code invoking the business logic in the action method the form gets submitted this is what i dont want. And also the action is done after the window.open() executes so for the first time the window is blank. So what i plan is to call the bussiness logic method first and then open another window. by window.open().
Hope this is helpful.

Similar Messages

  • Access to javascript training help?

    There is a developer section of the Adobe site that has some information I need but when I tried to log into it and it said "Insufficient privileges (HTTP 403 error)You are not authorized to view this content"
    Does anyone know how I might gain access to this area? https://partners.adobe.com/asn/developer/training/acrobat/javascript/main.html

    Just create a new Adobe ID
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 10 Nov 2011 09:54:02 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Access to javascript training help?
    Access to javascript training help?
    created by melissaruth<http://forums.adobe.com/people/melissaruth> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4018661#4018661

  • I have two different apple id's, one on my computer and one on my phone. i connected my phone to sync music and i lost most of my music. i realised that the music i lost is from the apple id on my mac. how do i undo this mess? help anyone?

    i have two different apple id's, one on my computer and one on my phone. i connected my phone to sync music and i lost most of my music. i realised that the music i lost is from the apple id on my mac. how do i undo this mess? help anyone?

    The iphone will mirror the selected content of your computer.
    Make sure everything is on your computer.  Select what you want on your iphone, sync

  • Unable to clear a specific file from the Download Manager. This file (type: .flv) download is "paused" and I cannot Resume or Clear from the history. Help anyone ?

    I noticed a certain file is "stuck" in the Download Manager. The file download appears to be Paused and all attempts to remove / clear / resume have not worked. The file is a .flv type. The mouse-over info does show the url address and it shows 40MB /40MB complete. Help anyone ?

    Delete the file downloads.sqlite in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    See:
    * http://kb.mozillazine.org/Unable_to_save_or_download_files#Manually_delete_download_history

  • I have changed my Apple ID name and I want to change it on iCloud, however I am not able to delete the previous account because I need to turn off the Find my iPhone - and for that I need to log in with the old name and that is not working. Help anyone?

    I have changed my Apple ID name and I want to change it on iCloud, however I am not able to delete the previous account because I need to turn off the Find my iPhone - and for that I need to log in with the old name and that is not working. Help anyone?

    Hey tulgan,
    This link will provide information on what to do after you change your Apple ID:
    Apple ID: What to do after you change your Apple ID
    http://support.apple.com/kb/HT5796
    Welcome to Apple Support Communities!
    Take care,
    Delgadoh

  • MacBook Pro does not sense external monitor (Panasonic HDTV in my case) via thunderbolt-HDMI connection...Is update 10.8.3 helping anyone?

    My MacBook Pro (newest model in 2013 so far) does not sense external monitor (Panasonic HDTV in my case) via thunderbolt-HDMI connection...Is update 10.8.3 helping anyone else who has this issue? I returned my multiple HDMI adapters after figuring out it had to be an Apple issue n not the adapters so I can't check it myself now.
    Thanks!

    I have late 2012 MBP 13" and connect to my Panasonic Plasma correctly.
    But using the same cable, can't connect to an LG 47LM6200, the MBP detects the TV, the screen blinks blue, but the TV shows "no sinal detected" message.

  • I am using my first apple product, mac book pro.  somehow i FIGURED OUT HOW TO INCREASE THE FONT FOR SEARCHES AND WEB PAGES, BUT THE FONT IS TOO BIG AND FOR THE LIFE OF ME I CAN NOT FIND WHERE TO GET THE SCREEN BACK TO NORMAL, HELP ANYONE?

    I am new to Apple, somehow I figured out how to make font of Web pages bigger, but it is too big and I can't use sites properly.  for the life of me I can not how to get my font size reduced.  Help anyone? thank you, sbb

    Probably command-minus will do the trick.

  • HT1222 Last time I did an update...I lost most of my music...thousands of songs and had to reinstall them!!!!  I am scared as **** to do another update!!  I have radio shows to do and can't afford to spend the time with this.  Help anyone?

    Last time I did an update...I lost most of my music...thousands of songs and had to reinstall them!!!!  I am scared as **** to do another update!!  I have radio shows to do and can't afford to spend the time with this.  Help anyone?

    A bit late for this advice now, but hopefully you'll know what to do next time.
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • In the finder window, column view, I double click on icon, eg. a spread sheet,  and document will not open since I updated to OSXv10.8.2. Help anyone?

    In the finder window, column view, I double click on icon, eg. a spread sheet,  and document will not open since I updated to OSXv10.8.2. Help anyone?

    Hi Ron,
    Highlight one in the Finder & do as Get Info on it, what does open With say to use?
    What did you update 10.8.2 from exactly? 10.6.8 maybe?

  • Whenever i try to install an app frorm my iMac to my iPod it tells me i need to authorise my mac even though i already have any help anyone?

    Whenever i try to install an app frorm my iMac to my iPod it tells me i need to authorise my mac even though i already have any help anyone?

    Howdy there 15itechnic,
    It sounds like you are getting a prompt when trying to use iTunes to sync an app to your iPod that you need to authorize your computer but it already is. I would next verify that the app in question was purchased with the same Apple ID as the one that you have iTunes authorized.  The following article will help you find the Account Name. Open iTunes and go to the Apps section under Library in the Sidebar.
    Recovering a forgotten iTunes Store account name
    http://support.apple.com/kb/ht1920
    Open iTunes
    Highlight one of the items you have purchased (You can find your purchases in your Purchases playlist).
    Choose File > Get Info.
    Click the Summary tab.
    The Account Name area will list the account used to purchase the item. Unless you have changed accounts, this is your iTunes Store account name.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • My ipod touch wont light up..help anyone?

    my ipod touch works fully except the screen only lights up for about half a second..help anyone?

    You would need to get it looked at to get an estimate. It could be a bad screen, logic board or battery.
    Basic troubleshooting steps. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G + 120G OCZ Vertex 3 SSD Boot HD 

  • TS1372 I was just about to about to update my iPod nano 7 from 1.0.2 to 1.0.3 . And after the complete download of the software,it says "The firmware file could not be found"   A little help anyone!!!

    I was just about to about to update my iPod nano 7 from 1.0.2 to 1.0.3 . And after the complete download of the software,it says "The firmware file could not be found"   A little help anyone!!!

    Welcome to Apple Discussions!
    Take a look at these two articles. The error messages are not the same, but they may help...
    http://docs.info.apple.com/article.html?artnum=304309
    http://docs.info.apple.com/article.html?artnum=301267
    If not, post back.
    btabz

  • OK! I am unable to type into any pages documents ... just started doing this. Tried opening new page ... no luck ... thries to edit a current paper... no luck!!! Help, anyone have an idea what I have done?

    OK! I am unable to type into any pages documents ... just started doing this. Tried opening new page ... no luck ... thries to edit a current paper... no luck!!! Help, anyone have an idea what I have done?

    Try a new post in the Pages forum. They would know better then us.
    DALE

  • I can't open mail, all I get is a white page with the 5 icons at the top right, the flag, folder etc.  then the white pages disappears.  I have rebooted, reset my iPad, doesn't help.  HELP anyone....tnx

    I can't open mail, all I get is a white page with the 5 icons at the top right, the flag, folder etc.  then the white pages disappears.  I have rebooted, reset my iPad, still can't get mail to open.  HELP anyone....tnx

    Hello tomzmem,
    Welcome to the Apple Support Communities!
    This situation does sound very frustrating. I know that you have tried some great troubleshooting steps already and the issue remains unresolved. Have you forced the Mail application to close and then opened it back fresh? If not, this is the next troubleshooting step I would suggest. Please let me know if the issue remains unresolved. 
    Force an app to close in iOS - Apple Support
    Have a great day,
    Joe

  • HT5654 I performed the update to my iphone to get the latest version, but now it does not want to activate my phone and displays the error message that the activation server is not available. Tried itunes and no luck. help anyone

    I have an iphone 3gs of which I attempted the latest IOS pdate through itunes. Now, it shows the original start up screen and when it gets to the activiaton screen it displays an error message stating: Your iphone could not be activated because the activation server is temporarily unavailable.  Help anyone??

    "We're Sorry, Activation Server Temporarily Unavailable, contact Customer Care?"
    99.9% of the time, the cause of this issue is the fact the phone was jailbroken/hacked to unlock it for use on networks other than the network the phone was originally locked to. Apple maintains a database of officially unlocked iPhones, and when Apple's servers detect phones such as yours, activation stops & you get the message you got.
    So, you need to get a sim card from the carrier the phone was originally locked to, or get it officially unlocked, if you want to activate it. Because it appears that it was not officially unlocked.

Maybe you are looking for