Posted by Geoff Berrow on 02/24/07 01:32
Message-ID: <DeSdncACjftzxELYnZ2dnUVZ_sapnZ2d@comcast.com> from Jerry
Stuckle contained the following:
>An even easier way:
>
> name=' chosen[$id]' value='$id' id='chosen{$id}
>
>And in your Javascript use:
>
> document.getElementById(chosen{$id})
>
>That way both Javascript and PHP are happy.
Cool. Not really done much in JS so I struggle somewhat.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Navigation:
[Reply to this message]
|