Submit button needs to be clicked twice on IE 10

 <td style="width:560px;">
                                    @Html.ActionLink(g.Settings[i].Value, "Download", new { Filename = g.Settings[i].Value, Modulename = g.Settings[i].Module
}, new { id = "LinkID" + cnt })
                              </td>
                              <td>
                                       <input type="image" src="~/Images/UploadFile.png" onclick="document.getElementById('@cnt.ToString()').click();
return false;" name="image" width="16" height="20"/>
                                      <input type="file" name="fileUploder" id= @cnt.ToString() onchange="Savefile(this.id)" style="visibility:
hidden; width:5px; height:5px;"/>
                              </td>
<script type="text/javascript">
    function Savefile(fileuploaderid) {
        var id = fileuploaderid;
        var files = document.getElementById(id).files;       // Getting the properties of file from file field
        var filename = files[0].name;
        var txtmoduleid = "TxtModule" + id;
        var textmodule = $("#" + txtmoduleid).val();
        var form_data = new FormData();                     // Creating object of FormData class
        form_data.append("file", files[0])              // Appending parameter named file with properties of file_field to form_data
        form_data.append("modulename", textmodule)      // Adding extra parameters to form_data
        $.ajax({
            url: "Config/Upload",
            cache: false,
            contentType: false,
            processData: false,
            data: form_data,                            // Setting the data attribute of ajax with file_data
            type: 'post',
            success: function (data) {
                var newvalue = data;
                var linkid = "LinkID" + id;              //get link id
                $("#" + linkid).text(newvalue);          //change link text 
                var textid = "TxtValId" + id;            //get text id
                $("#" + textid).val(newvalue);          //change text value
            error: function (data) {
</script>
if i use onclick="document.getElementById('@cnt.ToString()').click();
return true;"   at that time IE10 alone working. all other browsers were not working.
please kindly provide solution.

Hi,
About this issue, please post in Internet Explorer forum for professional help:
http://social.msdn.microsoft.com/Forums/ie/en-US/home?category=iedevelopment
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Karen Hu
TechNet Community Support

Similar Messages

  • Datagird submit button needs to be clicked twice

    Hello
    I have a submit button on an adf Read Only table that needs to be clicked once when the first page of data is shown to go to the next page but twice when the option “next 10” or the drop down list is used.
    The situation is as follows:
    I have one view object which is a read only query based on an Oracle view.
    This query takes one bind variable of type number.
    There are two JSF pages.
    The first page accepts a number via an InputText. When the user clicks the command button on the page the following code is executed so that the inputted value is stored in a managed bean (scope session) property userLang.
    public String gobutton_action() {
    FacesContext fc = FacesContext.getCurrentInstance();
    ValueBinding expr = fc.getApplication().createValueBinding("#{testbean.userLang}");
    Integer iLangVal = new Integer(Integer.parseInt((String)inputText1.getValue()));
    expr.setValue(fc, iLangVal);
    return "success";
    The second page contains an adf Read Only Table based on the view object. The view object needs a value for its bind variable. In the page definition of this second page there is an ExecuteWithParams binding which is used to set the bind variable of the view query. The binding is as follows : ${sessionScope.testbean.userLang}
    There is also an invokeAction in the executables section. This binds the ExecuteWithParams with a refresh of “if needed” and a refresh condition of “#{adfFacesContext.postback == false}”
    When running the application the first page is displayed. I enter 1 in the inputText and click on the commandbutton. The second page is displayed. The contents of the data gird are correct. (proves that the value is passed correctly to the managed bean and then to the bind variable in the view query. If I select a row and click on submit the next page is correctly displayed.
    If I repeat the test (I stop the OC4J) but this time use the “Next 10” option or the drop down list to change the page of data being displayed I have to click the submit button twice to make the next page display. The first click of the submit button only has for effect to refresh the current page.
    Does anybody know what is happening ?
    Many thanks
    Paul

    Hello
    I've removed the bind variable, the managed bean the invoke actions etc. and I still have the same problem :
    I now have 1 page with a command button on it which calls a second page with a read only table linked to a view object. There is no entity object. The bind variable has been hard coded into the view object. When I click on the submit button in the table the first page should be called.
    I click on the button on the first page and the second page opens.
    I select a row and click submit and the first pages opens - so far so good.
    I restart the application.
    I click on the button on the first page and the second page opens.
    I click on "Next 10" select a row and click submit and the page refreshes itself ! (instaed of calling the first page)
    I click for a second time on the submit button and the first page opens....
    Whats happening here ?
    Many thanks
    Paul

  • SUBMIT button works only when clicked twice... Online interactive form

    Hi,
    I have created a interactive form with SubmitToSAP button. In this I will enter a contract number and will click SUBMIT button.
    For the first time it is fetching the contract details properly.
    In the same form, i am changing  the previously entered value with another contract number and clicking SUBMIT.
    Now the details for the previously entered contract number is only displayed. Again if i try for the same value ( which i used for the second time )  and press submit, it is workin correctly.
    So, the problem is, except for the very first time SUBMIT button action, the button works fine only when clicked twice..
    please help me in solving this issue..
    Regards,
    Surya.

    Hi,
        In addition to my previous post, I am also using RESET FORM button from Library.
    First I am entering the contract number (say 400000000) in the form and clicking submit button. The contract details are fetched and displayed in the form.
    Now i am Resetting the form using Reset Button, and giving new contract number (say 400000020).  When  I pressed Submit button , the details of the first entered contract number (400000000)  is coming.
    Then again I am giving 400000020 or any other number, it is fetching the details correctly for that number...
    Can anyone help me in this issue..
    Thanks,
    Surya.

  • COMMAND BUTTON NEEDS TO BE CLICKED TWICE TO SAVE VALUES

    Hello,
    I have a problem that I'm pretty much spent hours trying to fix but failed to do so.
    I have a jsf page with a datatable bound to a component.
    I have updatable fields inside the table and a button below to save changes to the table.
    When I make a change the first time, and then hit the button, i get the action, and I save the value with no problems.
    However if right after it re-renders, I make another change in the table , and save button again it won't invoke the backing bean save method.
    The setter for the datatable binding property does get invoked however, it disregards the changes i just made to the table.....
    If i make changes for the third time...and hit save...it works...
    All my backing beans are request scope
    any clues???? i appreciate your help!!
         public void save(ActionEvent e) {
              log.debug("Im entering save user");
              currentSession.setCurrentSession(client);
              FacesContext.getCurrentInstance().renderResponse();
              organicManager.saveAppUsers(client, (List)appUsersTable.getValue());
              appUsersTable.setValue(new ArrayList(organicManager.getAppUsers(client)));
    <t:commandLink  actionListener="#{appUsersBean.save}" rendered="#{!appUsersBean.adding}">
         <h:outputText value="save" style="font-weight:bold;font-size:14px;text-decoration:none"/>
    </t:commandLink>
    <t:dataTable
    binding="#{appUsersBean.appUsersTable}"
              id="appUsersTable"
              var="userRow"
              style="font-family:arial;font-size:11px;"
              rendered="#{!appUsersBean.adding}"
              bgcolor="lightcyan"
              preserveDataModel="true"
         >
         <h:column>
              <f:facet name="header">
                   <h:outputText value="Username"/>
              </f:facet>          
              <h:inputText value="#{userRow.username}" readonly="true"  style="font-family:arial;font-size:10px" />
         </h:column>
         <h:column>
              <f:facet name="header">
                   <h:outputText value="FirstName"/>
              </f:facet>          
              <h:inputText value="#{userRow.firstName}" maxlength="50"  style="font-family:arial;font-size:10px" />
         </h:column>
         <h:column>
              <f:facet name="header">
                   <h:outputText value="LastName"/>
              </f:facet>          
              <h:inputText value="#{userRow.lastName}" maxlength="50" style="font-family:arial;font-size:10px" />
         </h:column>

    Yes.
    When I click the Close Window button, the Confirm close dialog window closes . . . but there is another one right behind it. I have to click the Close Window button again, and only then does the Firefox browser window close.
    A couple of factors are involved:
    1. I have "Warm me when I have multiple tabs" set to on.
    2. Two or more tabs must be open in the Firefox window
    3. I have at least two Firefox browser windows already open (not sure about this one, yet)
    I thought before that it was necessary to have a dialogue box from a different program open, but this is not necessary for the bug to appear.
    Thank you for your help!

  • I have defined a finite state machine: pb with button : they need to be click twice

    I have defined a finite state machine and also defined a call to a C dll enabling to kill processus  since in my state machine I have to sequence several exe and being able to interupt them (This is the goal of mu manageProc dll)
    for the moment I make my integration test with the notepad.exe process
    the create and kill seems to work
    but I have problem wth my finite state machine I need to click twice on the differnts button for a given state to be really effective
    I have also used glabal variable and an event controller ( without that I was unable to get ffedback oo buuton click
    So my question are
    Is my problem due to the use of a shift register
    Please tell me if you need other file to understand my problem
    Regards
    Thibaut
    Attachments:
    Spectro State MAchine .vi ‏77 KB

    Thibaut,
    You should put the event structure into its own parallel while loop rather than sharing the loop with the state machine. Typically the terminals of the controls will be placed inside the event case where they are read. At least inside the loop.
    Run your VI with execution highlighting on (the light bulb on the diagram toolbar). This will show you how dataflow works.
    You probably do not need most of your global variables. Appropriate use of shift registers and wires would eliminate them.
    Lynn

  • [JS CS3] ScriptUI button wants to be clicked twice

    Hi I created a sample scriptUI dlg with three buttons:
    res =
    ]"dialog { \
    ]s: StaticText { text:'Chosissez une période:' }\
    ]]period: DropDownList { alignment:'center' }, \
    ]]s: StaticText { text:'Chosissez un fichier:' }\
    ]]files: DropDownList { alignment:'center' }, \
    ]]buttons: Group { orientation: 'row', alignment: 'center', \
    ]]] revealBtn: Button { text:'Ouvrir le dossier'}, \
    ]]] okBtn: Button { text:'Ouvrir le fichier'}, \
    ]]] cancelBtn: Button { text:'Annuler', properties:{name:'cancel'} } \
    win = new Window (res);
    win.buttons.okBtn.onClick = function ()
    ]win.close(1);
    win.buttons.revealBtn.onClick = function ()
    ]win.close(45);
    if(win.show()==1)
    ]clickButton("file","Le fichier ne se trouve plus ici :");
    else if(win.show()==45)
    ]clickButton("folder","Le dossier n'a pas été trouvé.");
    b The cancel button works fine and actually all the buttons too. Except that for the two open buttons, I need to click twice to make them run.
    Any idea ?
    TIA Loic

    Hi Peter,
    Thanks for the tip. I should have see it. Nevertheless I thought it was the way to go.
    I thought the script should have ignored one of the conditions. I will try to do differently so.
    Thanks a lot
    Loic

  • Trying to disable my Submit button once if i click submit

    Hi
    I am tryign to diable my Save button once if i click save button,
    i written the code as follows, but its disablign once if i click save and immediately its enabling again.
    this is my java script code.......
    document.getElementById("xx").disabled=true;           
         frm.submit();     
    <input type="button" id="xx" value="SaveAccount" onclick="doProcessForm();"/>
    plz help me.
    Thanks
    Venaktesh

    Well, it seems like once you get the response back, the submit button is enabled again and it wud happen unless you explicitly disable it again in some onload method..(if you want it to get it permanently disabled for further clicks)..
    So, you need to have a hidden field like below in your form
    <INPUT TYPE="hidden" NAME="FirstTime" value="<%=FirstTime%>">and in the function, where your form gets submitted, change it to value
    document.getElementById(FirstTime).value = "N";and in the onload function depending on the value of FirstTime, enable/disable the submit button.

  • Buttons need to be pressed twice.

    Hi people. Im authoring a dvd with lots of layered menus. I had first made the menus so that every button had its own layer when it was being navigated. But there came a problem when navigating the dvd with the mouse, the overlays (layers) would not work, but using the remote would. So I changed from layers to a single pict overlay file, and also some layers, so that for instance when one is resting upon a button, it will be highlit but there would also be a picture displayed next to it (a separate layer). Am I being clear? (this is difficult for my english).
    So the problem now, is that overlays work, but a button has to be pressed twice in order for it to be activated.
    This is in dvd sp 4.
    If anybody has had this experience or know what Im doing wrong, I would love to read it.
    Thanks in advance.
    Pepo

    There are two types of still menus you can use in DVDSP, and both are "supported" by the dvd spec. The first type is a simple highlight overlay (and really is the preferred way of creating a menu). The advantages are that the menu responds quickly and generally in a way that the typical user would expect them to (mouse over results in highlighting, and one click navigates to the object).
    The second type, and the type you are using, are layered menus. Basically what DVDSP is doing is making an identical menu (with the exception of the changed content, like your button) for each state. One needs to click on it once to select it (and tell the dvd player to go to the menu with the change in the button appearance/associated image/etc) and click a second time to navigate to the object. You can have 'highlights' just like you would with the menus I described above, but in this instance the highlight appears but it still requires you to click twice. These kinds of menus are often confusing for the viewer, because they don't behave like what most are familiar with. They also can be quite sluggish in performance, and can behave very slowly on some set top players. For the most part (although the graphics can definitely look much better), I think they are best avoided.
    Jim

  • HT201406 my home button needs to be pressed twice to move.

    Is there any way I can fix my 4G iphone.  The home button needs to be pressed at least twice to function.

    i'm having the same problem with mine cept mine is an iPod touch i'm about to go to the apple store or geek squad or something to get it fixed because i am not replacing this thing not after all we've been through together

  • Submit Button Issues

    I have created a form in InfoPath and am using SharePoint as the method of users entering their inquiries.
    Whenever I click the "submit" button, nothing occurs. I have to click it again for the data connections to run. For some reason, the submit button only works when clicked twice.
    I am using a standard button with no conditions, so the actions run as soon as the button is clicked.
    I have the following actions being run upon click:
    1- Submit using a data connection (Main data connection)
    2- Switch view to E-mail (a view I created)
    3- Submit using a data connection (E-mail)
    4- Close this form: no prompt
    There are no validation or formatting rules on this button. I am not sure why it has to be clicked twice. Does anybody have any ideas? I have searched google a bit and haven't found much.
    Thanks.

    Hi,
    According to your post, my understanding is that the submit button only works when clicked twice.
    If the form has the rich text box control, you need to go to the rich text box properties | browser forms tab | and change the post back settings to Never.
    Here are some similar threads for your reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/b113e820-3b9a-48f4-802c-bb36860b0ac7/infopath-button-has-to-be-clicked-twice-to-submit
    http://www.linkedin.com/groups/Submit-problem-in-Infopath-sharepoint-43166.S.163875753
    http://sharepoint.stackexchange.com/questions/100232/infopath-form-requires-me-to-submit-twice-due-to-slow-validation
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • CP6 - Image button needs clicked twice.

    I am having an issue where an image button inside a group sometimes needs to be clicked twice before the associated success action is fired.  This is how I have it set up.
    3 groups on the slide are initially hidden.  on the slide I have a smart shape button that has an action that shows 1 of the two groups.  In the 1st group I have an image button that hides the 1st and shows the 2nd group.  (think of it as a next button)  Then in the 2nd group I have 2 image buttons.  One for previous (shows group #1) and one for next (shows #3).
    Group 1 and 2 both have a next button in the same exact spot and if I open group 1, click next, click previous, and try to click next again (on group #1) I have to click twice to have it activate.  It's almost like the hit area for the next button in group #2 is still active even though the image button is hidden.  (It almost acts like a dead spot that goes away once you click it)
    Is there any known issue with elements in groups not being hidden 100% and causing overlapping issues with other elements on the slide?

    Hello and welcome on the forum,
    Which version (exact number please) do you use?
    Is it possible to insert a screenshot of the timeline with all groups expanded? If two (shape) buttons are in exact the same location at the same time, one of them can be hidden to have the other one active. I have been trying this out extensively, so I'm a bit puzzled about your problem.
    Lilybiri

  • Thank you script after submit button is clicked

    Hi,
    Thank you for everybody's help. I was able to figure this one
    out. Another question I do have is how do I create a Thank you form
    after somebody clicks a submit button.
    So, visitor clicks a submit button and then he gets a Thank
    you script.
    Can anybody point me into the right direction?
    Again thanks for everybody's help.

    There are only two ways to process form data -
    1. Use mailto:[email protected] as the action of the form
    2. Use a server-side scripting method to a) harvest the
    form's data, b)
    process it in some manner, e.g., enter it into a database, c)
    formulate and
    send an email to one or more email recipients, and d)
    redirect the visitor
    to some ending page
    Method 1 is quite simple, and is also the least reliable. It
    depends both
    on your visitor having an email client already installed on
    their computer -
    this eliminates public computers, or home users without email
    clients
    installed (more and more it seems) - and on the installed
    email client
    responding to
    the mailto call. It is not possible to use this method *and*
    send the
    visitor to a
    thank you page as well.
    Method 2 is the preferred method, since it eliminates the
    problems of method
    1, but it means that you have to grapple with
    server-scripting somehow (ASP,
    CF, PHP, perl, etc.).
    You would have to decide which of these methods is best for
    your needs,
    but if it's Method 2, then start by asking your host what
    they provide for
    form
    processing.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "dreamweavernewbieny" <[email protected]>
    wrote in message
    news:e5ttnv$4pd$[email protected]..
    > Hi,
    >
    > Thank you for everybody's help. I was able to figure
    this one out. Another
    > question I do have is how do I create a Thank you form
    after somebody
    > clicks a
    > submit button.
    >
    > So, visitor clicks a submit button and then he gets a
    Thank you script.
    >
    > Can anybody point me into the right direction?
    >
    > Again thanks for everybody's help.
    >

  • How to set focus on MessageTextInput after clicking submit button

    Hi All,
    I have submit button and MessageTextInput, by clicking submit button i have to focus on MessageTextInput control.
    can any one tell me how to do this?
    Thanks
    Laukik Pachanekar

    Hi,
    As the submit button is clicked redirect the page to itself using
    pageContext.forwardimmediatelytocurrentpage(null,false,null);
    Now in process request use:
    import oracle.apps.fnd.framework.webui.beans.OABodyBean;
    OABodyBean oabean = (OABodyBean)pageContext.getRootWebBean();
    oabean.setInitialFocusId("<id of messsage text input>");
    Thanks,
    Gaurav

  • How to disable a submit button on click using javascript

    Hi,
    We have built custom pages for mobile device (PDT) using OAF.
    The application is running on mobile IE 6.12 browser. In mobile platform, the cursor style is not changing to hour glass upon clicking.
    Due to this, user is able to click the same button multiple times before the operation is complete and it is getting submitted multiple time. But the same is working fine in Desktop browsers.
    We have tried with ((OABodyBean)body).setBlockOnEverySubmit(true); But the API documentation states that
    "Sets If set to true, user input will be blocked after EVERY submit (not just PPR submits). This attribute is not supported on the following agent types: pda, phone, voice."
    Hence, I am trying with javascript to disable the submit button after the first click. The issue is, even in the desktop browser
    I am not able to get the button disabled after first click. Please help me.
    I have tried the following statments in PR. But none of them seems to be working.
    //Try 1: directly using id
    OASubmitButtonBean updBtn = ((OASubmitButtonBean)webBean.findChildRecursive("UpdateBN"));
    updBtn.setOnClick("document.getElementById('UpdateBN').disabled=true;document.getElementById('UpdateBN').submit()");
    //Try 2:
    OASubmitButtonBean updBtn = ((OASubmitButtonBean)webBean.findChildRecursive("UpdateBN"));
    updBtn.setOnClick("javascript:this.disabled=true;this.form.submit();");
    //Try 3:
    OASubmitButtonBean updBtn = ((OASubmitButtonBean)webBean.findChildRecursive("UpdateBN"));
    updBtn.setOnClick("this.disabled=true;this.form.submit();");
    //Try 4: using a function
    static final String JS_MULTI_CLICK = "<Script LANGUAGE=\"JavaScript\"> "
    +" function DisabSub(btn)"
    + "{"
    + "btn.disabled = true;"
    + "}"
    +" </Script>" ;
    OARawTextBean rawMultiClick = (OARawTextBean)webBean.findIndexedChildRecursive("JSMultiClick");
    rawMultiClick.setText(JS_MULTI_CLICK);
    OASubmitButtonBean updBtn = ((OASubmitButtonBean)webBean.findChildRecursive("UpdateBN"));
    updBtn.setOnClick("javascript: var obj =disable(this);return DisabSub(obj);");
    Can any one please help.
    Thanks in advance.
    Regards
    Saravanan

    Hi,
    Create two submit buttons A and B adjacent to each other.
    On page Load ,make A as rendered false and disabled true and B as rendered true. using SPEL.
    now on click of button B make button A as rendered true and Button B as rendered false through SPEL.
    In this way on button click the button will become disabled without the use of any javascript.
    Try it if it helps you...
    Thanks,
    Gaurav

  • How to set the time in messageTextInut when i am click the submit button

    Hi
    In my form one messageTextInput field and submit button .when i am click the submit button the time (continuously)display in messageTextInput field.so plz tell me the process.

    You can associate a VO Attribute to the textinput field and set its value when the Submit button gets clicked. Thereafter you can renavigate to the same page.

Maybe you are looking for

  • How to execute a statement in application process on new authentication

    Hi all, How can i execute a statement such as set role TABLE_NAME identified by sunil; in my application process? I have tried exec('set role TABLE_NAME identified by sunil');, but wasn't successful. Does anybody knows the problem in my syntax? Thank

  • Events in  Alv

    hi Experts    i hav e requirement on   report in  alv oops . in this  , let me know the details   how  to   display the  events  liken "top-of-page", end of page and   list header , list footer  in oops, please provide the suitable  code Regards Span

  • Registering Purchase information in SAP

    Hi All, I was working out on a scenario. I want to know what is the transaction code for registering purchase information in SAP system. And when a new purchase information is registered is there a standard program available which will generate repor

  • Wrong invoice, no support

    Hi all I am quite disappointed about apple's support. I received an invoice by email three days ago for an app which I have never bought at the iTunes store. Therefore, I immediately tried to contact Apple by phone but if you choose the iTunes option

  • Can't redeem codes for Keynote, Pages, iPhoto, iMovie without upgrading to Yosemite

    I work in a school where I have been working updating 8 2008 macbook pros to Mavericks. I finished 7 of them before the weekend. I started on the final one today but now I can't redeem the codes in the app store because it wants me to update to 10.10