Javascript to Display message and return to home page
Hi
I have a requirement to display an acknowledgement message after a button has been pressed and return to home page.
I created some JS and tested on a standalone button.
<script type="text/javascript">
function GoToHome_ack()
alert("Authorisation Created!");
// goto to page 1
location.href = "f?p=&APP_ID.:1:&SESSION.";
</script>
Now the problem is I need to call this code after I have successfully executed 2 Processes conditionally on a Create Authorisation Button
The only logical place I tried to place the call was on the conditional Branch URL, because I need the Processes to execute first.
javascript:GoToHome_ack();
Unfortunately this failed
Anybody any suggestions ??
Regards
Ade
Hi,
Quickly what come my mind is that create blank page and place to HTML header
<script type="text/javascript">
alert("Authorisation Created!");
// goto to page 1
location.href = "f?p=&APP_ID.:1:&SESSION.";
</script>Then branch to that page instead javascript:GoToHome_ack();
br, Jari
Similar Messages
-
Running IOs 5.1.1 on original Ipad. System constantly crashes returning to the home screen when in internet. Using Safari browser. is there anything I can upgrade or clear to help??
There are a few things that you could try. First try clearing Safari's cache : Settings > Safari > Clear Cookies And Data and also Clear History
If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot. -
I updated my Ipod Touch last night, it went through all the processes and said it complete - but now when I select any app - it flickers and goes back to the homescreen. Also, all my music/books are gone.
- First try resetting your iPod. Nothing will be lost.
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Then try downloading/installing a new app.
- iOS: Troubleshooting applications purchased from the App Store -
iPad bombs out returns to home page using Google Earth and other random Apps, why and how can I prevent it happening?
Quit/close all apps and restart the iPad.
Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad.
Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
You can try this as well.
Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. -
Sometimes when I am texting the screen freezes. I have to go out of messages and return and then I can send.
Hello mdcrab1,
Thank you for participating in the Apple Support Communities.
If your screen freezes sometimes when you're texting until you quit and re-launch Messages, try these troubleshooting steps first:
Restart your device and check for updates
Restart your device.
Check for a carrier settings update.
Check for an iOS software update.
You can find these steps and more troubleshooting tips at this link:
If you can't send or receive messages on your iPhone, iPad, or iPod touch - Apple Support
If the issue continues, and it only happens in the Messages app, I recommend trying the rest of the steps in the above article.
If the screen freezes sometimes when you're using other apps, the steps in this article can help:
If the screen on your iPhone, iPad, or iPod touch doesn't respond to touch - Apple Support
Sincerely,
Jeremy -
Actionscript 3 coding to return to home page 10 secs after sound file stops
Hi..
I am having some problems with my Flash Project.
At the moment the whole thing works but I now need it to do something I have never done before.
Basically, the user will select a page and the project will then run, via actionscript 3.0 coding, a sound file and display the appropriate page within the timeline.
I have a back button that once tapped will return to home page.
I now need it to return to home page 10 secs after the sound file has stopped as well as keep the function of the back button.
What do I do?
I can provide the coding I am using if required.
I am currently using Flash Pro CS6 on a Win 7 Pro PC.
Thank you for your help
MichaelThank you Ned for your help, however as I do not really understand how the settimeout function works, it has now made me more confused.
I think I have nutted out what I am trying to say.
Essentially my project is like a web page if you like.
I have six individual pages which all display a picture and play a sound file.
What I would like to do is after each page is selected it will play a sound file, I then want it to wait 10 secs and then go back to a
home page (which will be frame 1) or if they are impatient there is a back button that directs you back to frame 1.
I have included the code used by the back button to manually get back to frame 1 either whilst the sound file is playing or after it has finished
back_btn.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToGoToAndStopAtFrame_1);
function fl_ClickToGoToAndStopAtFrame_1(event:MouseEvent):void
gotoAndStop(1);
/* Click to Stop All Sounds
Clicking on the symbol instance stops all sounds currently playing.
back_btn.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToStopAllSounds);
function fl_ClickToStopAllSounds(event:MouseEvent):void
SoundMixer.stopAll();
I just want it to return to home page automatically once the sound file is finished and there is nil input from the touch screen. (This will simulate someone walking away midway and leaving it with 2nd web page showing.)
I hope this makes sense.
Thank you -
IPad 4th gen seems that Safari will return to home page when new mail downloads during web
iPad 4th Gen. Safari will return to home page when it seems to download new mail when I'm on the web!
Clear Safari, close Safari completely and reset your iPad.
Go to Settings>Safari>Clear Cookies and Data.
In order to close apps in iOS 7, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up. -
Can't get into Mail on iPad 2. Returns to home page with blank white screen.
Any help appreciated. Recently can not get into mail account on iPad 2. Seems to go to blank white page and then returns to home page. thanks, m
Hi,
If your OS is Linux you can update Firefox using the Package Manager / Software Center. After opening the Manager type '''firefox''' in the search area, tick '''firefox''' in the results and apply. You may also be asked to accept additional new dependencies.
or
You can directly download the latest version for Linux here: https://www.mozilla.org/en-US/firefox/new/
It is a zip package and you have to unzip it and run the script file named '''firefox''' inside the unzipped folder. You have to go inside this folder every time to run this file or you can create a link to the '''firefox''' file on the desktop. In this case please note that the old Firefox installation will still exist and the usual links will open that instead of the new one. -
I'm on Firefox 3.6.8 running on a 2008 IMAC with OS 10.5.8 yet every click to move pages, from start-up, to return to Home Page takes minutes, not seconds! If I use Safari that's greatly faster on this same set-up. How do I get Firefox to be as fast ?
== Some time back, beggining with Firefox updates, at least three, or more updates ago.Thanks for the tip. I took the following steps:
1) Backed up the existing profile (presumably corrupted somewhere);
2) Deleted the existing profile;
3) Moved the existing Firefox to the Trash and downloaded a fresh copy;
4) Started Firefox (thus allowing it to create its default profile)
5) Copied the following files from the backup copy of the previous profile: places.sqlite, key3.db, signons.sqlite, permissions.sqlite, persdict.dat, cert8.db ---
I'm posting this from a Firefox browser, so I guess I'm OK now. -
My home button isn't working. It works to put it in dfu mode but not to return to home page where my apps are. Can anyone help please?
Try:
http://snapguide.com/guides/calibrate-your-home-button/?utm_expid=69945963-15
fix for Home button
iPhone Home Button Not Working or Unresponsive? Try This Fix
- If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
- If not under warranty Apple will exchange your iPod for a refurbished one for:
Apple - Support - iPod - Repair pricing
You can do it an an Apple store by:
Apple Retail Store - Genius Bar
or sent it in to Apple. See:
Apple - Support - iPod - Service FAQ
- There are third-party places like the following that will repair the Home button. Google for more.
iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens -
As I said above: I Have Firefox browser home page set for Google search, but each following tab (but suddenly now it) opens w/Yahoo search instead. How do I remove the Yahoo search off the added tabs and have Google home page/ blank tab (like it used to be) on every tab????
The new Firefox Start Page - '''about:home''' - isn't the same homepage that was used in earlier versions of Firefox - http://www.google.com/firefox There is no "setting" for the "Search Container" on the about:home "page" - in the Options UI or in about:config .
Set that old "Mozilla Firefox Start Page" as your "homepage". <br />
http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
Or open your Profile folder and delete the '''webappsstore.sqlite''' file and hope the "Search Container" on the about:home "page" returns to Google. When it '''''is''''' Google, the Google logo appears to the left of the "Search Container"; when the search engine there has been changed to something else, there is no logo to the left of the "Search Container" - AFAIK. -
How to display date and time on jsf page
Hi,
how to display date and time on jsf page
we are using 11.2.0.0 jdeveloper on windows.
thanks
Edited by: user12187801 on 26-Jul-2012 01:42Your question is certainly lacking some information.
If you want a constantly updating date/time - then JavaScript is your best bet, and Google would find you examples like [url http://www.webestools.com/scripts_tutorials-code-source-7-display-date-and-time-in-javascript-real-time-clock-javascript-date-time.html]this
If you meant something else, then it's back to you to explain. -
I accidently "x" off the download of firefox 4 before it had finished and now the home page doesn't work. it loads but then wont let me search from it? i tried redownloading firefox but that didn't work is there a way i can resume the previous download?
Your More system details list show that you run the latest Firefox 4.0.1 version.<br />
You can check that via Help > About Firefox and on the Help > Troubleshooting Information page.
A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
See:
* https://support.mozilla.com/kb/Server+not+found
* https://support.mozilla.com/kb/Firewalls
If you posted from another computer then download the full version and uninstall the currently installed version.
Download a fresh Firefox copy and save the file to the desktop.
* Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
* Uninstall your current Firefox version.
* Do not remove personal data when you uninstall the current version.
Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
* It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox. -
Safari shuts down and goes to home page on some web sites after 6.1.2 install, any body else have this issue ?
Safari shuts down and goes to home page on some web sites after 6.1.2 install, any body else have this issue ?
-
Mail inbox shuts automatically and returns to home screen
Hi everyone,
My iPhone3GS mail inbox displays and even updates for a few seconds then quits automatically to the home screen every time. This only started happening after only 4 days of usage without no apparent reason. I am devastated as I need to send emails on the move. Worked fine for the past 3 days though and I haven't done anything unusual at all.
I have noticed a few threads regarding this issue but I haven't seen any real answers so far.
Can anyone help? Thank you.Well I had some success in correcting this situation. I have five accts with one of my earthlink accts causing all the problems. I had gone through all the suggested corrections and much more many times over with no success. This last time here is what I did...
1 I deleted the offending acct from my iPhone
2 I reset my iPhone
3 I went into the webmail portion of my earthlink acct and deleted all emails that were not from my contacts list. This included all the junk, spam and returned emails for the first 50 emails. I made sure that at least the first 25 emails (as that is my setting on the iPhone) were clean.
4 I reset my email acct password on the webmail
5 Then restarted my iPhone
6 I added back my offending acct
7 It reloaded the first 25 emails, which were now clean of spam and whatever else might be lurking
This solved it, at least for now. I had previously done all of this many times over, except for the clean out and re-passwording of my email acct. So it would seem that offending emails can cause the iPhone to crash. Maybe it has something to do with the lack of a Junk filter on the iPhone. I don't understand enough of these things to know, but it all works for now. Hope this helps someone.
Maybe you are looking for
-
I am trying to connect my new nano to my iTunes account. I keep getting msg "ipod detected but not identified properly. disconnect and reconnect. if problem persists uninstall/reinstall iTunes". I've uninstalled/ reinstalled iTunes 6 times but keep g
-
Hi The below code works in Internet explorer but not in Mozill firefox. Could anyone please tell what could be problem. <%@page language="java" import="sun.jdbc.odbc.*,java.sql.*,java.util.*;"%> <jsp:useBean id="bhasar" class="rms.common.EncryptionUt
-
I tried tocreate an ITunes acc do download free apps from the app store, but it does not give me the NONE option in the billing screen. What do I do?
-
ITunes and iPhone playlists don't match...
So I have all the new updates for the 3GS and my iTunes. I noticed now after i download music and they show up in my recently added playlist, after syncing they don't show up the same way on my phone. This is annoying since it's a quick reference for
-
Hi Experts.. I need your help... I need to make the configuration of itens categories( L and D) from R/3. Is there the possibilty to transfer the itens categories (middleware) from backend to SRM? Where i can make this configuration Iten category in