Focus.class.php (476B)
1 <?php 2 3 namespace template_engine\components; 4 5 class FocusComponent extends Component 6 { 7 8 public function begin() 9 { 10 /* 11 echo <<<'HTML' 12 <script name="JavaScript" type="text/javascript"><!-- 13 // Auskommentiert, da JQuery sonst abbricht und die Success-Function des LoadEvents nicht mehr ausführt. 14 //document.forms[0].<?php echo $attr_field ?>.focus(); 15 //document.forms[0].<?php echo $attr_field ?>.select(); 16 // --> 17 </script> 18 HTML; 19 */ 20 } 21 22 23 public function end() { 24 } 25 } 26 27 ?>