IE9 And Posting/Editing


Goto page Previous  1, 2

Subject: Re: IE9 And Posting/Editing
This would certainly work
Code: [Download] [Hide]
  1. $('form').submit(function () 
  2. $(this).find('input[type="submit"]').val('Please wait').find('.mainoption').attr('disabled', true); 
  3. }); 
EDIT : for some reason it prevents the post from being saved. I neither know nor have time to look if IP checks the value of SUBMIT (I only know it checks if it's present)

Profile PM  
Subject: Re: IE9 And Posting/Editing
I'll have look and see if I can find the Orion stuff - No offence, but it could save one wasting their time on this, when they could be doing other things.

:mricy:

Edit - It's AJAX:

Found it! Don't know if it will help - - But!

Code: [Download] [Hide] [Select]
<td class="footer" colspan="2" align="center" height="28">{S_HIDDEN_FORM_FIELDS}
<input type="submit" tabindex="5" name="preview" onclick="return AJAXPreview({S_IS_PM}, {S_EDIT_POST_ID});" class="mainoption" value="{L_PREVIEW}" />
&nbsp;&nbsp;<input type="submit" accesskey="s" tabindex="6" name="post" class="mainoption" value="{L_SUBMIT}" onClick="this.value='{OF_WARTEN}'" />


Of Warten = Please Wait. :mrblue:

I also know that myBB had the same problem with IE, and they resorted to using js to submit the form. Only difference is - They used a "Spinner" like I posted earlier. ;)


ajax_postfunctions.zip
Description:  
Download
Filename: ajax_postfunctions.zip
Filesize: 2.48 KB
Downloaded: 273 Time(s)

Profile PM  
Subject: Re: IE9 And Posting/Editing
It's working the same way as my code, except it's not unobstrusive ;). And it does not disable other fields too.

Profile PM  
Subject: Re: IE9 And Posting/Editing
Thanks for the suggestions.

I'll think about integrating this.

Goto page Previous  1, 2

Page 2 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.5614s (PHP: 3% SQL: 97%)
SQL queries: 31 - Debug Off - GZIP Enabled