Re: php+ ajax
| From: | David Dorward | Date: | Mon, 20 Feb 2006 22:21:19 +0000 |
| Subject: | Re: php+ ajax | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230769@lists.php.net to get a copy of this message | ||
Kim Christensen wrote:
> On 2/20/06, blackwater dev <blackwaterdev@gmail.com> wrote:
>> The problem is js seems to get confused trying to look this up by id
>> and I don't think I can use an array like this with a GET, how can I
>> use arrays for all this??
>
> You have to escape the brackets with backslashes, so that the JS
> really interprets it as an element ID
Element ids may not contain square brackets in HTML documents.
--
David Dorward <http://blog.dorward.me.uk/>
<http://dorward.me.uk/>
Home is where the ~/.bashrc is