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