On 4/23/2010 6:43 PM, V.Krishn wrote:

Does MarkupToHTML actually output html or an intermediate markup?
Example:
http://insteps.net/pr/a/pmwiki/QNotes/Notes1
Here I am planning to Refresh updated notes after ajax edit through ajax
itself.
I guess by using MarkupToHTML it would be possible.
It returns HTML. I use this in BlogIt to pass back a json object for direct manipulation/insertion back into the DOM, from an ajax call. Here's a sample, obviously you may want to change the structure of the json object you manage:

  echo(json_encode(array(
    'out'=>MarkupToHTML($bi_Pagename, $markup),
    'result'=>'success',
    'msg'=>XL($msg)
  )));


 ~ ~ Dave

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to