Re: 2 forms, same page, 1st is file upload - works in IE, 'dies' in non-IE browsers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 19 Mar 2009 16:27:38 -0600, scubak1w1 wrote:

>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... 

Sounds like you have some browser-specific DOM code there when adding
the submit button. Can we see the code please?

A simpler approach could be to have the submit button there all along,
but disable it (attribute: disabled="disabled") until you have your
array key (script: submitElement.disabled = false). No chance of
bollocksing up the DOM code then :)
-- 
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux