On 27/02/07, Mark <[EMAIL PROTECTED]> wrote:
> yea oke.. but do you guys have any idea how to solve this issue?
> in php it would be: html_entity_decode() but that doesn`t work in
> javascript.. besides the fact that i would need to edit the plugin and i
> have no idea where i need to edit it.. :(

Perhaps not the best way to do it, but you could try replacing

self.revert = jQuery(self).html();

with

self.revert     =
jQuery(self).html().replace(/&gt;/g,">").replace(/&lt;/g, "<");

Not tested though.

>
> 2007/2/27, Sam Collett <[EMAIL PROTECTED]>:
> > On 27/02/07, Mark <[EMAIL PROTECTED]> wrote:
> > > i`m trying to edit the whole tag.
> > > and i can`t post any samples online.. i don`t have any sites online.. i
> do
> > > have some free subdomains somewhere but i hardly know where i left them
> :P
> > > perhaps in the future..
> >
> > You could upload them to Google Pages (http://pages.google.com/).
> > That's what I did in the past before it was blocked from work. Not
> > sure how many others on this list have Google Pages blocked.
> >
> > >
> > >  2007/2/27, Mika Tuupola <[EMAIL PROTECTED]>:
> > > >
> > > > On 27 Feb 2007, at 01:47, Mark wrote:
> > > >
> > > > > > i have a edit in place thing now and i have this text:
> > > > > > <div class=\"admin_link\">#INCLUDE#</div>
> > > > > >
> > > > > > when you click on the the text field pops in BUT the content is
> > > > > > suddently different.. the content now is:
> > > > > > &lt;div
> class="admin_link"&gt;#INCLUDE#&lt;/div&gt;
> > > >
> > > > > sorry, i forgot to mention that..
> > > > > i`m using the jEditable plugin.
> > > >
> > > > Ok. To be clear. Is the text you are trying to edit "#INCLUDE#" or
> > > > are you trying to edit the whole html tag "<div class=\"admin_link
> > > > \">#INCLUDE#</div>" ?
> > > >
> > > > Maybe you can post some example code online?
> > > >
> > > > --
> > > > Mika Tuupola
> > > http://www.appelsiini.net/~tuupola/
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > jQuery mailing list
> > > > discuss@jquery.com
> > > > http://jquery.com/discuss/
> > > >
> > >
> > >
> > > _______________________________________________
> > > jQuery mailing list
> > > discuss@jquery.com
> > > http://jquery.com/discuss/
> > >
> > >
> >
> > _______________________________________________
> > jQuery mailing list
> > discuss@jquery.com
> > http://jquery.com/discuss/
> >
>
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to