A bit more info:

<a href='comments.php?c=$countRaw' target='_replace' ><br>Comments and 
tips...</a>
..another bit of HTML here

results in 

..another bit of HTML here
(result of clicking on comments.php?c=$countRaw)



On Monday, November 18, 2013 10:42:39 PM UTC, Remi Grumeau wrote:
>
> Hi Alan, 
>
> _replace was designed to expand a list content, but since it replaces a 
> DOM element by an external HTML content, that might do the trick. 
> Note that this replace thing does replace the element, so you can't redo 
> or do it twice. The element you clicked on is removed. 
>
> If you want to avoid an ajax call for that, you might write up your own 
> small function to do this. 
>
>
> Remi 
>
> Le 18 nov. 2013 à 22:30, Alan Mathers <alan.m...@gmail.com <javascript:>> 
> a écrit : 
>
> > Hi All 
> > 
> > I am trying to get the latest version of iui to add a bit of html in the 
> middle of an existing form when a link is manually clicked. I had this 
> working in an old release by implementing a patch (ie issue 74 / 104) 
> > 
> > I have noticed the code has now changed since then and 
> replaceElementWithFrag seems to suggest to me there is a better way of 
> doing this?! 
> > 
> > What is the accepted way of doing this now (before I start messing 
> around with the new code :) ) 
> > 
> > So far I have used the target _replace but that only appends.. 
> > 
> > cheers 
> > 
> > Alan 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "iPhoneWebDev" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to iphonewebdev...@googlegroups.com <javascript:>. 
> > To post to this group, send email to 
> > iphone...@googlegroups.com<javascript:>. 
>
> > Visit this group at http://groups.google.com/group/iphonewebdev. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to iphonewebdev+unsubscr...@googlegroups.com.
To post to this group, send email to iphonewebdev@googlegroups.com.
Visit this group at http://groups.google.com/group/iphonewebdev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to