I'm using $ajax->link to insert a "row" of content into an empty
<div></div> area of my page.  The html that gets inserted has some
content and another empty <div></div>, so the link will be able to
insert another "row" of content.

If firefox the link works perfectly, but in IE7 the link only works
the first time.  Subsequent calls generate a javascript syntax error,
and no new row is inserted.

This is my main page:
<div id="addanother"></div>
<?php echo $ajax->link('Add a row', 'myurl',
array('update'=>'addanother')); ?>

and this is my update content:

content
<div id="addanother"></div>

I can't be that far off, since it works in Firefox, but am I doing
anything blatantly wrong?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to