Re: use of javascript focus()
Webbedit...
AHA...but your code did not work since scriptBlock is a method of the
Html helper. When I used...
$this->Html->scriptBlock("document.getElementById(\"OpFirstName
\").focus();",
array('inline'=>false, 'safe'=>false));
it placed the code in the <HEAD> so not very useful
Miles...
I think I agree with you
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home