[pmwiki-users] fox: new page focus
Patrick R. Michaud
pmichaud at pobox.com
Sat Aug 2 14:39:01 CDT 2008
On Sat, Aug 02, 2008 at 05:22:06PM +0700, aless wrote:
> (:fox newpagefrm2:)
> (:foxtemplate "(:title {$$newedit}:)\n":)
> (:input text newedit size=20:)(:input submit post "Create Page":)
> (:foxend newpagefrm2:)
>
> Everything work as expected but when the new page is opened in edit
> mode, the edit box doesn't get the focus (I have to click before I can
> start typing). Is there a way to get the cursor blinking in the edit box
> automatically?
Perhaps add "focus=1" to the text control?
(:input text newedit size=20 focus=1:)
Pm
More information about the pmwiki-users
mailing list