[Typo3-dev] Replace form button
media.res | alex widschwendter
a.widschwendter at mediares.at
Thu Nov 27 14:42:32 CET 2003
hi mario
Mario Birkigt wrote:
> Hi list!
>
>
>
> I want to replace this submit-button:
>
>
>
> $content.='<input type="submit" name="'.$this->prefixId.'[ot_actio
> n]" value=';
>
> $content.=$this->pi_getLL('delete',$this->LLkey).$this->bs.'>';
>
>
>
> with this one:
>
> $content.='<button name="'.$this->prefixId.'[ot_action]" type="sub
> mit" onClick="this.form.submit()" ';
>
> $content.='value="delete" '.$this->bs.'>'.$this->pi_getLL('delete',$
> this->LLkey).'</button>';
>
try this one
$content.='value="delete" '.$this->bs.$this->pi_getLL('delete',$
> this->LLkey).'</button>';
hth
alex
More information about the TYPO3-dev
mailing list