How to prevent the Submit button to submit...?

Hello

is is possible to have a regular send button, but when you press it, I want to do my own thing and that you do not want to submit...?

for example, in the attributes of the button:
onClick"javascript:doMyStuff(this); stopSubmittingAndStayOnThisPage..."
Thanks, Jürgen

change the button Action to submit to URL redirection , and then specify the URL like 'javascript:javascripFunction().

Tags: Database

Similar Questions

  • How to prevent the add-on compatibility checking whenever he opens Firefox?

    How to prevent the add-on compatibility checking whenever he opens Firefox?

    Which can be a problem with the compatibility.ini file in the Firefox profile folder.
    Try to rename (or delete) the file compatibility.ini in the profile folder of Firefox to see if that helps.

    You can use this button to go to the Firefox profile folder currently in use:

    Alternatively, you can check for problems with preferences.

    Delete possible user.js and files numbered prefs-# .js and rename (or delete) the file prefs.js to reset all the prefs by default, including the prefs set via user.js and pref which is no longer supported in the current version of Firefox.

  • How to prevent the creation of 15000 files for 300 MB each day Firefox

    Firefox creates files of 'file' in C:\Users\LeRicain\AppData\Local\Mozilla\Firefox\Profiles\dnm04rk5.default\cache2
    There are about 10,000 and 20,000 files I have to remove to get about 300 MB of space each day

    How to prevent the creation of these files in Firefox

    Here are the files from cache. Basically, it takes Web sites that access you a lot and records bits of them so they'll load faster the next time you visit them. FOR EXAMPLE if you visit Google.com much, Firefox will save some elements of this page in the cache so that the next time visit you Google.com, it will not have to re - download.

  • How to remove the download button located next to my home button? I continue to by clicking on it when I want the House and it's annoying.

    How to remove the download button located next to my home button?

    You can use customization feature to move it to a less irritating location. I suggest the bar the module if you keep this poster.

    Start customizing with one of these, and then drag the arrow to a new location, or in the dialog box to remove all the bars:

    • Right click on a zone empty of the tab bar > customize
    • Press the Alt key > menu view > toolbars > customize

    You will notice that some combined controls separate in the view to customize. If you put something between them, they will not be able to recombine. (For example, if you separate stop and reload or put something between front/rear and area URL.)

  • lovely better does not work with windows vista home Premium what another program removes LSO and HOW to prevent the trackers?

    Question
    better privacy does not work with windows vista home Premium that another program removes LSO and HOW to prevent the trackers? Edit
    Details

    In current versions of Flash you can also do this via the control panel.

    • Control Panel > Flash Player, click on remove and erase data
  • How to fix the main button to paste constantly

    How to fix the main button to paste constantly

    Short of getting a replacement from Apple or risk a repair third shop there is nothing you can do. How about a button on the home screen? Go to settings > general > accessibility > assistive touch > on.

  • How to disable the setting button in Tools - Options - advanced - network of windows registry?

    Dear support,
    Now, my office has use Firefox as default browser to access the Web server. And there is a policy that users must use ProxyServer. I don't want to change user setting in Firefox proxy. How to disable the setting button in Tools - Options - advanced - network of windows registry?
    Thank you.
    Treky

    You cannot use the Windows registry to disable the elements in Firefox. This link shows how to lock the proxy settings of Firefox, change the values as needed:
    http://www.stbernard.com/ip5kb/iPrism/whatsnew/50SupportFiles/SupportFiles/IP0460.htm

    A change of minor importance, in step 4, instead of add this line to all-js, you can create a file called local - settings.js containing the indicated line and save the file in the same folder as all.js

  • How to use the prtsc button please, so I can capture Bank to receive the shipment?

    How to use the prtsc button please, so I can capture Bank to receive the shipment?

    If you can view receipts from the Bank to the screen... just left
    Click on your print screen button to copy the screen of your
    Windows Clipboard. Then... Open Windows Paint and
    Reach... Editing / paste. Then go to... File / save as / JPEG.

    If the file needs cropping... you can use the 'Fix' edition
    option in the Windows Photo Gallery.

    Another option:

    If you run any version of Vista Basic...
    the capture tool can be a better tool for the job:

    Use capture tool to capture screenshots
    http://Windows.Microsoft.com/en-us/Windows-Vista/use-Snipping-Tool-to-capture-screen-shots
    (Vista Home Premium, Business, Ultimate, Enterprise)

    Windows Vista - activate the Vista Snipping Tool
    http://www.PCWorld.com/article/137099/activate_vistas_snipping_tool.html

    Vista tutorial - How to use the tool captures of Vista
    http://www.Vistax64.com/tutorials/148532-how-use-Snipping-Tool-Vista.html

  • How to prevent the scrambling of text as you type

    How to prevent the scrambling of text as you type

    Hello

    1. What do you exactly mean by interference?

    2 does this happen on all applications such as word, Notepad?

    I suggest you to follow these steps and check if that helps:

    Method 1:
    Start the computer in safe mode and check if the same problem occurs:
    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    Method 2:
    Try to perform the clean boot and check if it helps:
    http://support.Microsoft.com/kb/929135

    NOTE: When you are finished troubleshooting, make sure that restore you the computer mode normal startup such as suggested in step 7 of the above article.

    Check if that helps.

  • How to prevent the automatic updates

    How to prevent the automatic updates which closes the window and restart the computer in Windows 7, Vista OP?  I'm usually right in the middle of something when this happens.

    Hello

    change how to get updates to allow you to choose what you and when you install to stop it happening again

    http://www.bleepingcomputer.com/tutorials/tutorial140.html

    Download updates but let me choose whether to install them - if you select this option, Windows will download the updates on your computer, but not install them automatically. If you want to install updates, then you must install them manually. You should only select this option if you have a reason to not install updates automatically. Only advanced users should use this option.

    Check for updates but let me choose whether to download and install them - if you select this option, you'll be alerted when there are new updates available for download and install. You can then choose to download and install the updates that you want. This option should really be reserved for people who know exactly which updates they need, or those who have little access to the Internet.

  • How to prevent the faye error message when I try to install my printer 6510 throu hpofficejet

    How to prevent the faye error message when I try to install my hpofficejet printer 6510 throu on windows 7

    Marcia J Outten-Robinson

    Hi outten7429,

    Follow the steps outlined in the document below.

    http://support.HP.com/us-en/document/c02266980

  • How to disabled the alt button?

    How to disabled the alt button?

    Wednesday, October 17, 2012 12:48:11 + 0000, ArielPilapil wrote:

    How to disabled the alt button?

    Why do you do this? This can screw up a lot of things.

    But you can disable any key or keys by using software such as the free
    SharpKeys to http://www.randyrants.com/sharpkeys/

    Ken Blake, Microsoft MVP

  • How to disable the cc button animate html5 canvas files?

    Hello!

    How to disable the cc button animate html5 canvas files?

    ex:

    this.mc.on('click',function(){alert('this')})
    this.mc.enabled=false
    

    question 1:

    When you click on the 'mc', it always run. How can I control the button of the deactivate and activate?

    question 2:

    The mc is not an image, it's a movieclip. How can I change the colors of the mc? example: default of the mc color red, I want to click change black!

    Thank you!

    use addEventListener instead of 'on '.  You can then use removeEventListener to disable.

    or you can intemperies to use 'on' using the mouseEnabled property to disable this.mc:

    this.mc.mouseEnabled = false;

  • How to prevent the OSB 11g to change original prefixes xmlns?

    Hello


    Could someone tell me how to prevent the modification of the xml namespace that I have carefully specified in the WSDL and XSD OSB file?

    By example, if I deploy wsdl file beginning with

    <soap:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/"> ...

    Then I get to the BSO for the same wsdl wsdl file is something like

    <WL5G3N0:definitions xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/"/>


    He renames "SOAP" to "WL5G3N0".  This name change similar to most of the other namespace in the WSDL and XSD files xml prefixes.  This OSB causing to use for a purpose limited in our environment.  We simply turn this renaming feature off (or find different technologies of accommodation... ).


    So I hope it's possible to disable and someone knows how, in the community of Oracle users.  Could someone tell me if it is possible and how to disable the prefix renaming in OSB?


    Thank you

    or at least there is no known way to get that off, right?

    I'm not an employee of the Oracle, so I can't say with 100% confidence. I don't know a way, and I'm sure that the path does not exist.

    thinking of using 'engine for stateful service' Oracle SOA for this is very bad...

    It's not so bad. If you do not service calls in the Middle, then BPEL is not to dehydrate State, making it more or less stateless.

    DataContractSerializer seems to be picky and all pending schema corresponding to certain prefix text

    It's weird, but the code generators are a common source of bugs in SOA :-)

    Good luck!

    Vlad @ genericparallel.com

  • How to prevent the appearance of "Failed to open Document" "Please check if you have read permissions for the file above.  This problem occurs when I try to convert a word in a PDF doc.

    How to prevent the appearance of "Failed to open Document" "Please check if you have read permissions for the file above? This problem occurs when I try to convert a word in a PDF doc.

    Hi [email protected] ,

    Please try to follow the steps mentioned in this thread with a similar problem: Impossible to open the document. Please check if you have read permissions for the above file.

    Also, let us know the acrobat version you have and the version of the OS on your system.

    Let us know if that helps.

    Concerning
    Sarojini

Maybe you are looking for