Re: 2 forms, same page, 1st is file upload - works in IE, 'dies' in non-IE browsers
| From: | scubak1w1 | Date: | Thu, 19 Mar 2009 22:27:38 +0000 |
| Subject: | Re: 2 forms, same page, 1st is file upload - works in IE, 'dies' in non-IE browsers | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290321@lists.php.net to get a copy of this message | ||
"Ross McKay" <rosko@zeta.org.au> wrote in message
news:lv4kr4psfniltjns3p914aj4s7s6nnavvf@4ax.com...
> On Thu, 12 Mar 2009 18:39:38 -0600, scubak1w1 wrote:
>
>>[...]
>>In the non-IE browsers I have tried (Firefox, Chrome, Opera), the first
>>form
>>uploads the file properly, the 2nd form's submit is 'turned on' by AJAX -
>>BUT the submit button on the 2nd form doesn't seem to do anything - i.e.,
>>the onsubmit is not being triggered, etc, etc
>
> How do you "turn on" your submit button? (for that matter, how do you
> "turn it off"?)
>
> Have you checked Firefox's log to see if you have JavaScript errors?
> --
> Ross McKay, Toronto, NSW Australia
> "Let the laddie play wi the knife - he'll learn"
> - The Wee Book of Calvin
I have it set in a <div> tag and use AJAX...
When it is 'off' (i..e, when the page first opens) it is simply a grayed out
image with a 'tool tip' to indicate it is not functional...
Once the array key exists for the first form, I have (sic) AJAX change the
connets of the <div> to make it a 'true' submit button...