[Typo3-dev] Replace form button
Mario Birkigt
mario.birkigt at t-online.de
Thu Nov 27 13:00:03 CET 2003
Hi list!
I want to replace this submit-button:
$content.='<input type="submit" name="'.$this->prefixId.'[ot_action]" value=';
$content.=$this->pi_getLL('delete',$this->LLkey).$this->bs.'>';
with this one:
$content.='<button name="'.$this->prefixId.'[ot_action]" type="submit" onClick="this.form.submit()" ';
$content.='value="delete" '.$this->bs.'>'.$this->pi_getLL('delete',$this->LLkey).'</button>';
This should be a better solution, but it doesn't work. Anybody has an idea why?
Mario Birkigt (mbirkigt)
More information about the TYPO3-dev
mailing list