Run Javascript Routine and Validations/Proccesses At The Same Time

I have a Submit Button. When a user clicks it, I want the following to happen...
1) I want a Javascrip Function to run
2) I want the Validations And After Submit Proccesses To Run
I can do each seperately, but can't figure out how to do both at the same time. I can run the Javascript Function by assigning a Optional URL to the submit button (javascript:blah()) , but the Validations and Proccesses are by passed. I can have the normal submit process, but this doesn't do the Javascript part.

Hi,
You can chain javascript calls:
javascript:blah();doSubmit('buttonname');As long as blah() doesn't return false, then the doSubmit() function will be called and the page submitted as normal.
Andy

Similar Messages

  • Can I run a podcast and an app at the same time?

    Can I run a podcast and an app at the same time?

    Yes for most.  You can run a regular app with an audio podcast.  I do not know what could run with a video podcast.

  • Can i run remote profiling and remote debugging at the same time

    can i run remote profiling and remote debugging at the same time .
    i am using jdev9.0.5 and oc4j9.0.4 standalone server.

    i think i am wrong

  • Running Service pack and Authorization migration at the same time

    Hi BI Experts,
    We are in a situation where planned to run new Enhance pack 3 (from EHP1) in BI 7 system and also in same system migration of Bw 3.5 Authorization concept to BI 7 analysis Authorization. Both the activities are planned at the same time in same system.
    Do you guys see any risk running two activities at the same time in same BI 7 system?
    Would you please highlight your thought or opinion on this?
    My System is on BI 7.0 with EHP1, Authorization still using 3.5 concepts
    Br
    Deepak

    I got the way , no need to reply to this query.
    Br
    Deepak

  • Dual Environment - Running 8.5 and 9.0 at the same time?

    We are currently running 8.5 on UCM, Unity, UCCX, Presence, and Attendant Console. I would like to upgrade to 9.0.
    Can I deploy 9.0 on different Virtual Machines, get it all configured and tested, and then do a seamless cutover?
    Or do I have to upgrade from 8.5 to 9.0 with no way back?

    I think the best path for you depends on the requirement.  If you are already running virtualized 8.5 and don't really have any hardware compatibility issues to consider, then it would probably be more straightforward to upgrade the existing applications to 9.0.  There is the option to revert back to a previous version after an upgrade; however, there are a number of things to think about there especially if you run the new version for a while before running into an issue.  Not knowing particulars about your environment, I think it might be a good idea to possibly run what I call an "alpha" or test environment.  You could stand up a parallel set of VM's running new versions in a lab environment and run a test plan to validate any number of things.  In conjunction with a bug scrub and reading up on the new version, you could then validate whether you are ready to make that move in your production environment.
    Hailey
    Please rate helpful posts!

  • Running new GL and traditional GL at the same time

    Hello, I am new to the forum.  I have a quick question about the new GL.  Can you run the new GL in a specific country while having the other countries of the company still running under the traditional GL? Or can you only run the new GL or the traditional GL?
    Thank you

    Hi
    Refer to the following OSS Note for all migration queries
    1070629 - FAQs: New General Ledger Migration
    Read question 23 for answer to your query.
    23. You want to configure a new company code with the new general ledger. The existing company codes use the classic general ledger. Can company codes use different general ledgers (classic and new) in the same client?
    The implementation of a new company code and the transition from the classic general ledger to the new general ledger are two different projects which you must schedule at different times.
    You perform the migration from the classic general ledger to the new general ledger at client level and it affects all company codes in this client.
    Because the new general ledger is activated at client level, the new general ledger would be active for all company codes, not only for the new company code. This would mean that the new general ledger is active in the old company codes, but there was no migration from the classic general ledger to the new general ledger. This is not possible.
    Therefore, it is not possible to start with a new company code in the new general ledger while the classic general ledger is still active in other company codes in the same client.
    First implement the new company code. Then set up the project for the transition from the classic general ledger to the new general ledger.
    Alternatively: First set up the project for the transition from the classic general ledger to the new general ledger and migrate the data to the new general ledger, then implement the new company code.
    Regards
    Sach!n

  • Run iMovie 06 and iLife 08 at the same time?

    I hate to complain, but they should have called it imovie 1908, cause they stepped so far back. I don't get it. I LOVED the transitions and effects of 06. I bragged to all my windows colleagues how much better Apple does things... and then 08...
    Anyway, can I run iLife 08 for the other functions, like iPhoto (which was a huge improvement) but uninstall iMovie 08 and install iMovie 06 instead? Be the best of both worlds!!!

    iMovie 6 will work on a system with iLife 08 installed. If iLife 08 is installed on a system with iMovie 6, it will not erase the existing iMovie application. You can download iMovie 6 for free if you have iLife 08.
    (24170)

  • 10.3 and 8.1 at the same time

    I'm trying to run 10.3 and 8.1 at the same time and have had no luck so far.
    I have:
    installed 10.3 in a new directory, C:\bea103
    I'm running 8.1 in the default C:\bea
    changed the point base ports in 8.1
    changed the http/https ports in 8.1 to 8001/8002
    any ideas on what else I should do?
    I can start on or the other. When 10.3 is running 8.1 outputs the following to the console (Class paths have been chopped for length and the start command edited for legibility):
    JAVA Memory arguments: -Xms96m -Xmx256m
    WLS Start Mode=Development
    CLASSPATH=;<Cut for length>
    PATH=<Cut for length>
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    Error [2] in bind() call!
    err:: No such file or directory
    Socket transport failed to init.
    Transport dt_socket failed to initialize, rc = -1.
    ERROR: No transports initialized
    Starting WLS with line:
    C:\bea\JROCKI~1\bin\java
         -jrockit
         -Xdebug
         -Xnoagent
         -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n
         -Djava.compiler=NONE
         -Xms96m
         -Xmx256m
         -Xverify:none
         -ea
         -da:com.bea...
         -da:javelin...
         -da:weblogic...
         -Dplatform.home=C:\bea\WEBLOG~1
         -Dwls.home=C:\bea\WEBLOG~1\server
         -Dwli.home=C:\bea\WEBLOG~1\integration
         -Dlog4j.configuration=file:C:\bea\WEBLOG~1\common\lib\workshopLogCfg.xml
         -Dweblogic.management.discover=true
         -Dweblogic.ProductionModeEnabled=
         -Dejbruntime.database=pointbase44
         -Dweblogic.security.SSL.ignoreHostnameVerify=false
         -Dwlw.iterativeDev=true
         -Dwlw.testConsole=true
         -Dwlw.logErrorsToConsole=true
         -Dweblogic.Name=portalServer
         -Djava.security.policy=C:\bea\WEBLOG~1\server\lib\weblogic.policy weblogic.Server
    Error [2] in bind() call!
    err:: No such file or directory
    Socket transport failed to init.
    Transport dt_socket failed to initialize, rc = -1.
    ERROR: No transports initialized
    Stopping the Weblogic Workshop debugger...
    === Debugging ===
    This window is necessary for debugging code using WebLogic Workshop
    Debugger Stopped.
    Stopping Pointbase server...
    Pointbase server stopped.
    Here is the console output when 8.1 is running and I try and start 10.3 (edited as above):
    JAVA Memory arguments: -Xms512m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=256m -XX:MaxPermSize=512m -XX:MaxPermSize=160m -XX:MaxPermSize=192m
    WLS Start Mode=Development
    CLASSPATH=;<Cut for length>
    PATH=<Cut for length>
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    Cleaning up license and uid files
    Starting Autonomy with CONTENT_SEARCH_OPTION = full
    Autonomy Distributed Search Handler engine started.
    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
    ERROR: transport error 202: bind failed: Address already in use
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
    Starting WLS with line:
    C:\bea103\JDK160~1\bin\java
         -client
         -Xdebug
         -Xnoagent
         -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n
         -Djava.compiler=NONE
         -Xms512m
         -Xmx1024m
         -XX:CompileThreshold=8000
         -XX:PermSize=256m
         -XX:MaxPermSize=512m
         -XX:MaxPermSize=160m
         -XX:MaxPermSize=192m
         -Xverify:none
         -da:org.apache.xmlbeans...
         -ea
         -da:com.bea...
         -da:javelin...
         -da:weblogic...
         -ea:com.bea.wli...
         -ea:com.bea.broker...
         -ea:com.bea.sbconsole...
         -Dplatform.home=C:\bea103\WLSERV~1.3
         -Dwls.home=C:\bea103\WLSERV~1.3\server
         -Dweblogic.home=C:\bea103\WLSERV~1.3\server
         -Xmx1024m
         -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0
         -Daldsp.home=C:\bea103\odsi_10.3
         -Djavax.xml.soap.MessageFactory=weblogic.xml.saaj.MessageFactoryImpl
         -Dweblogic.wsee.bind.suppressDeployErrorMessage=true
         -Dweblogic.wsee.skip.async.response=true
         -Dwcb.properties.url="file:///c|/bea103/user_projects/domains/WCB_Developer_Domain/app
         -parms/"
         -Dlog4j.configuration=file:C:\bea103\USER_P~1\domains\WCB_DE~1\apacheLog4jCfg.xml
         -Dweblogic.management.discover=true
         -Dwlw.iterativeDev=true
         -Dwlw.testConsole=true
         -Dwlw.logErrorsToConsole=true
         -Dweblogic.ext.dirs=C:\bea103\patch_wlw1030\profiles\default\sysext_manifest_classpath;C:\bea103\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\bea103\patch_wlp1030\profiles\default\sysext_manifest_classpath;C:\bea103\patch_wli1030\profiles\default\sysext_manifest_classpath;C:\bea103\patch_cie670\profiles\default\sysext_manifest_classpath;C:\bea103\patch_alsb1030\profiles\default\sysext_manifest_classpath;C:\bea103\patch_aldsp1030\profiles\default\sysext_manifest_classpath;C:\bea103\wlportal_10.3\p13n\lib\system;C:\bea103\wlportal_10.3\light
         -portal\lib\system;C:\bea103\wlportal_10.3\light
         -portal\lib\system;C:\bea103\wlportal_10.3\light
         -portal\lib\system;C:\bea103\wlportal_10.3\portal\lib\system;C:\bea103\wlportal_10.3\info
         -mgmt\lib\system;C:\bea103\wlportal_10.3\analytics\lib\system;C:\bea103\wlportal_10.3\apps\lib\system;C:\bea103\wlportal_10.3\info
         -mgmt\deprecated\lib\system;C:\bea103\wlportal_10.3\content
         -mgmt\lib\system
         -Dweblogic.alternateTypesDirectory=C:\bea103\wlportal_10.3\portal\lib\security
         -Dweblogic.Name=AdminServer
         -Djava.security.policy=C:\bea103\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
    ERROR: transport error 202: bind failed: Address already in use
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
    Stopping PointBase server...
    PointBase server stopped.
    \Windows was unexpected at this time.
    So I'm stuck, can any one point me to some documentation or anything at all to get me moving forward on this?
    Thanks
    John

    Hi
    Did you change this 8453 to someother value for one of the domains. This looks like a Pointbase DB Debug Port. First change main pointbase db port and then change this debug port value also in setDomainEnv.cmd file.
    HTH
    Ravi Jegga

  • L2 OOB and L3 OOB at the same time

    Can you run L2 OOB and L3 OOB at the same time?
    I have a core 6509 and it is trunked to access layer switches “ 4506 and 2960s”.
    The problem is that I am installing a 3845 router” off the 6509” to act as a hub for crypto tunnels. The spokes will be 2821 routers with 2960 switch on its own subnet that requires routing not L2.
    Could someone provide a good example of configuration? Most confused with the CAS.
    In the above need do I have E0 and E1 in different VLANS with different IP's.
    Using a 10.x.x.x /24 private address network.

    Yes you can run layer 2 and layer 3 in other words client adjacency is 0 hops from cas in respect to the 6509 and multi hops in respect to the 2960 switches at the remotes.
    Unfortunately its not as simple as providing you a working config getting this set up is usually a 1 week process for most cisco partners.

  • How can I do to acquire and save date in the same time and in the same file when I run continual my VI without interrupti​on.

    I've attached a VI that I am using to acquire amplitude from Spectrum analyzerse. I tried to connect amplitude ouput to the VI Write Characters To File.vi and Write to Spreadsheet File.vi. Unfortunately when I run continual this VI without interruption, labview ask me many time to enter a new file name to save a new value.
    So, How can I do to aquire and save date in the same time and in the same file when I run continual my VI for example during 10 min.
    Thank you in advance.
    Regards,
    Attachments:
    HP8563E_Query_Amplitude.vi ‏37 KB

    Hi,
    Your VI does work perfectly. Unfortunately this not what I want to do. I've made error in my last comment. I am so sorry for this.
    So I explain to you again what I want to do exactly. I want to acquire amplitude along road by my vehicle. I want to use wheel signal coming from vehicle to measure distance along road. Then I acquire 1 amplitude each 60 inches from spectrum analyzer.
    I acquire from PC parallel port a coded wheel signal coming from vehicle (each period of the signal corresponds to 12 Inches). Figure attached shows the numeric signal coming from vehicle, and the corresponding values “120” and “88” that I can read from In Port vi.
    So I want to acquire 1 time amplitude from spectrum analyser each 5
    period of the signal that I am acquiring from parallel port.
    So fist I have to find how can I count the number of period from reading the values “120” and “88” that I am acquiring from In Port (I don’t know the way to count a number of period from reading values “120” and “88”).
    Here is a new algorithm.
    1) i=0 (counter: number of period)
    2) I read value from In Port
    3) If I acquire a period
    i= i+1 (another period)
    4) If i is multiple of 5 (If I read 5 period)
    acquire 1 time amplitude and write to the same
    file this amplitude and the corresponding distance
    Distance = 12*i). Remember each period of signal
    Corresponds to 12 Inches).i has to take these
    values: 5,10,15,20,25,35,40,45,50,55,60............
    5) Back to 2 if not stop.
    Thank you very much for helping me.
    Regards,
    Attachments:
    Acquire_Amplitude_00.vi ‏59 KB
    Figure_Algorithm.doc ‏26 KB

  • Can we run 11g RAC and 12c RAC in the same server?

    There is a requirement to run 11g RAC and 12C RAC in the same server for a year or so and then remove 11g RAC?
    Current setup:
    HP-unix 3 node RAC on 11g R2
    4CPU
    64 GB RAM
    3 TB SAN storage
    no ASM
    Upgrade setup:
    HP-unix 3 node RAC on 12C RAC
    8CPU
    128 GB RAM
    6+ TB SAN storage
    ASM
    We are asked to use the same server and upgrade Hardware to install and run 12C RAC. What are the implications of running RAC in the same server/nodes?
    Thank you for your time!

    Hi,
    The following table shows you the compatibility between various versions:
    Clusterware
    ASM
    DB
    Certified
    12.1
    12.1
    12.1
    Y
    12.1
    12.1
    11.2(a)
    Y
    12.1
    12.1
    11.1(a)
    Y
    12.1
    12.1
    10.2(a)
    Y
    11.2
    11.2(b)
    11.2
    Y
    11.2
    11.2(b)
    11.1
    Y
    11.2
    11.2(b)
    10.2
    Y
    11.1
    11.1
    11.1(c)
    Y
    11.1
    11.1
    10.2
    Y
    11.1
    11.1
    10.1
    Y
    11.1
    10.2
    11.1
    Y
    11.1
    10.2
    10.2
    Y
    11.1
    10.2
    10.1
    Y
    11.1
    10.1(d)
    11.1
    Y
    11.1
    10.1(d)
    10.2
    Y
    11.1
    10.1
    10.1
    Y
    10.2
    10.2
    10.2
    Y
    10.2
    10.2
    10.1
    Y
    10.2
    10.1(d)
    10.2
    Y
    10.2
    10.1
    10.1
    Y
    10.1
    10.1
    10.1
    Y
    (a) Pre-12.1 database instances require an ASM instance resident on the same node as the database instance. Pre-12.1 database instances cannot leverage the implicit HA of Flex ASM.
    Oracle Clusterware (CRS/GI) - ASM - Database Version Compatibility (Doc ID 337737.1)

  • I am using several Macs running Yosemite. I was recently "upgraded" to Xfinity's new cable modem which can support both 2.5Ghz and 5Ghz networks at the same time. Actually I can connect to the internet over both with a satisfactory bump in speed for

    I am using several Macs running Yosemite. I was recently “upgraded” to Xfinity’s new cable modem which can support both 2.5Ghz and 5Ghz networks at the same time. Actually I can connect to the internet over both with a satisfactory bump in speed for the Ghz. However when I connect to the 5Ghz the Time capsule disappears from the Airport Utility and claims to be Not Found. Is there something I have done wrong or just a Yosemite Teething Problem

    First restart your mac and try again.
    It could be
    that the router and the TC are interfering wirelessly with each other.
    You can check this by pressing the option key while clicking on the wireless icon on your screen
    Open Wireless Diagnostics
    enter your user password
    Press CMD 4 then Scan
    You will see all the wireless channels being used in your location and you can check if they are on the same channel
    Make the SSID for the TC simple like MyTC
    Set 5Ghz to auto
    Update the TC
    Try again
    Ted

  • Can i run remote memory profiling and remote debugging at the same time .

    can i run remote memory profiling and remote debugging at the same time .
    i am using jdev9.0.5 and oc4j9.0.4 standalone server.
    how to write the batch file to run both at the same time

    Thanks for your help!
    Another question. How do you turn off the ATT wireless transmitter? Also, there are more computers connected to the 2Wire network. I will have to set up a wireless pc to work with the Base Station after disconnecting the ATT transmitter. Easy answers for both, I hope?

  • Execcute Two Proccess at the same time

    Hi,
    How i can run two different proccess at the same time?
    Example:
    for i in 1...1000000000000000 Loop
    P_1_Do_Proccess(1);
    P_1_Do_Proccess(2);
    End Loop;
    if P_1_Do_Proccess(1); finish i need to exit from loop else i need the program complete and go to the
    next proccess how ?
    Regards,

    Yes, but is it a database procedure, can the process be split up in little child processes or is it just a big fat insert into....select...
    If it is a database procedure you can schedule it in the background with dbms_job or dbms_scheduler, and let the procedure log into v$session_longops for example. The form would just need to query for the actual status constantly (with some interval of course).
    Or you just could modify your procedure and break it apart so it can synchronize this progress itself, like
    do_some_stuff;
    set_progress('10%');
    do_some_other_stuff;
    set_progress('20%');etc.
    cheers

  • Run invoke-command on multiple machines at the same time

    Hey all so I read that if I store my New-pssession in a variable then used that in my invoke-command it would run all computers at the same time.
    $a = Get-Content "C:\Users\cody-horton\Desktop\list.txt"
    $session
    for($i=0;$i -lt $a.Length;$i++){
    if(!(Test-Connection -Cn $a[$i] -BufferSize 16 -Count 1 -ea 0 -quiet)){
    Write-Host $a[$i] -foregroundcolor red
    else{
    $session = New-PSSession $a[$i]
    Invoke-Command -Session $session -FilePath "\\My computer\C`$\Users\public\Documents\zip folder.ps1"
    What exactly am I doing wrong I just need to run this script on multiple machines at the same time.
    Thanks.
    Edit: Also what would be the best way to close all the sessions thanks.

    Hi there,
    So what I think you are doing wrong here is that you are overwriting the value in $Session everytime you executed code inside for loop. try the below:
    $a = Get-Content "C:\Users\cody-horton\Desktop\list.txt"
    $session = @() #define this as an array
    for($i=0;$i -lt $a.Length;$i++){
    if(!(Test-Connection -Cn $a[$i] -BufferSize 16 -Count 1 -ea 0 -quiet)){
    Write-Host $a[$i] -foregroundcolor red
    else{
    $session += New-PSSession $a[$i] #add the new session to the array, at the end it will be a collection of sessions
    Invoke-Command -Session $session -FilePath "\\My computer\C`$\Users\public\Documents\zip folder.ps1" #I think the above one won't work..first you need to copy the script locally on the machine and then execute it#Why this won't work because of Second-Hop Authentication
    Have put comments where I edited your code.
    Hope this helps
    Knowledge is Power{Shell}. http://dexterposh.blogspot.com/

Maybe you are looking for

  • Where can I get the Text to Speech utility for Captivate 4?

    I looked all over the Adobe site. Where can I find the text to Speech utility for Captivate 4 and the voices that go with it. A URL to the download site would be perfect.

  • Window starts to open then closes; right click on icon shows open windows but cannot open to use

    opening firefox the window flashes and closes to right of screen. clicking on icon does nothing. right clicking shows 1 or more windows, but they will not open.

  • I am getting "An unhandled win32 exception occured in firefox.exe"

    Hi, I have installed firfox 5.0 on windows xp service pack2. But i am getting the error mentioned in the question. This occurs very frequently. I would appreciate if you please provide me some pointer or steps to resolve this problem.

  • BPX: a futile idea?

    I came across a thread that was not related to points hunting, that made me question whether SDN/SCN is really accepted as place to discuss topics that don't involve how to write ABAP or Java, or install a system. This thread that I found and the rep

  • Cannot print from we forms

    Unix machine on which Oracle 9iAS is installed has printer services set up. Can print from the form in client/server environment (using menu File->Print or from the Print button). Cannot print when the form is deployed on the web (via 9iAS). If the p