Re: [jQuery] problem with edit in place on HTML coding.
On 1 Mar 2007, at 02:15, Mark wrote: yea.. i was just thinking about the same.. i think i`m gonna give that a try.. 2007/2/28, Karl Rudd [EMAIL PROTECTED]: Unfortunately you can't just assign a function that runs on the server to JavaScript (running on the client). The best you could do would be to POST the content back via AJAX. Check the parameters: * @param String options[postload] POST URL to fetch content before editing * @param String options[getload] GET URL to fetch content before editing which fetch contents of the input via GET or POST. So this script which returns the content can do html_entity_decode() for you. -- Mika Tuupola http://www.appelsiini.net/~tuupola/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] problem with edit in place on HTML coding.
thanx for the suggestion. gonna try that 2007/3/1, Mika Tuupola [EMAIL PROTECTED]: On 1 Mar 2007, at 02:15, Mark wrote: yea.. i was just thinking about the same.. i think i`m gonna give that a try.. 2007/2/28, Karl Rudd [EMAIL PROTECTED]: Unfortunately you can't just assign a function that runs on the server to JavaScript (running on the client). The best you could do would be to POST the content back via AJAX. Check the parameters: * @param String options[postload] POST URL to fetch content before editing * @param String options[getload] GET URL to fetch content before editing which fetch contents of the input via GET or POST. So this script which returns the content can do html_entity_decode() for you. -- 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/
Re: [jQuery] problem with edit in place on HTML coding.
oke.. i fixed the issue now. incase you want to know the solution i added this function: function html_entity_decode(str) { var ta=document.createElement(textarea); ta.innerHTML=str.replace(//g,lt;).replace(//g,gt;); return ta.value; } than i edited this line: i.value = self.revert; to: i.value = html_entity_decode(self.revert); that did the trick for me... i still think it`s best to somehow assign php`s html_entity_decode function to javascript.. i just don`t know how to do that at this moment. perhaps later. 2007/2/27, Mark [EMAIL PROTECTED]: i don`t think that helps.. the text must be editable so it doesn`t _NEED_ to be a div. also a div could cause other problems.. and it will in the place where i need it :( i will try to put up a example somewhere. 2007/2/27, Danny Wachsstock [EMAIL PROTECTED]: I'm not sure if this will solve your problem, but a cheap way to emulate html_entity_decode is: function html_entity_decode(string) {return $('div').html(string).text()} It creates a div, uses your string as the innerHTML, and outputs the HTML created. If the string is not valid HTML, things may not work. The reverse would beL function html_entity_encode(string) {return $('div').text(string).html()} Hope this helps Danny Wachsstock Mark-235 wrote: no that`s not the best way.. can`t i assign a php function to javascript and use it the same way i would have done with php? 2007/2/27, Sam Collett [EMAIL PROTECTED]: 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_linkgt;#INCLUDE#lt;/divgt; 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/http://www.appelsiini.net/%7Etuupola/ ___ 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/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/problem-with-%22edit-in-place%22-on-HTML-coding.-tf3295602.html#a9188810 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] problem with edit in place on HTML coding.
Unfortunately you can't just assign a function that runs on the server to JavaScript (running on the client). The best you could do would be to POST the content back via AJAX. Karl Rudd On 3/1/07, Mark [EMAIL PROTECTED] wrote: oke.. i fixed the issue now. incase you want to know the solution i added this function: function html_entity_decode(str) { var ta=document.createElement(textarea); ta.innerHTML=str.replace(//g,lt;).replace(//g,gt;); return ta.value; } than i edited this line: i.value = self.revert; to: i.value = html_entity_decode(self.revert); that did the trick for me... i still think it`s best to somehow assign php`s html_entity_decode function to javascript.. i just don`t know how to do that at this moment. perhaps later. 2007/2/27, Mark [EMAIL PROTECTED]: i don`t think that helps.. the text must be editable so it doesn`t _NEED_ to be a div. also a div could cause other problems.. and it will in the place where i need it :( i will try to put up a example somewhere. 2007/2/27, Danny Wachsstock [EMAIL PROTECTED]: I'm not sure if this will solve your problem, but a cheap way to emulate html_entity_decode is: function html_entity_decode(string) {return $('div').html(string).text()} It creates a div, uses your string as the innerHTML, and outputs the HTML created. If the string is not valid HTML, things may not work. The reverse would beL function html_entity_encode(string) {return $('div').text(string).html()} Hope this helps Danny Wachsstock Mark-235 wrote: no that`s not the best way.. can`t i assign a php function to javascript and use it the same way i would have done with php? 2007/2/27, Sam Collett [EMAIL PROTECTED]: 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_linkgt;#INCLUDE#lt;/divgt; 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/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/problem-with-%22edit-in-place%22-on-HTML-coding.-tf3295602.html#a9188810 Sent from the JQuery mailing list archive at Nabble.com. ___
Re: [jQuery] problem with edit in place on HTML coding.
yea.. i was just thinking about the same.. i think i`m gonna give that a try.. 2007/2/28, Karl Rudd [EMAIL PROTECTED]: Unfortunately you can't just assign a function that runs on the server to JavaScript (running on the client). The best you could do would be to POST the content back via AJAX. Karl Rudd On 3/1/07, Mark [EMAIL PROTECTED] wrote: oke.. i fixed the issue now. incase you want to know the solution i added this function: function html_entity_decode(str) { var ta=document.createElement(textarea); ta.innerHTML=str.replace(//g,lt;).replace(//g,gt;); return ta.value; } than i edited this line: i.value = self.revert; to: i.value = html_entity_decode(self.revert); that did the trick for me... i still think it`s best to somehow assign php`s html_entity_decode function to javascript.. i just don`t know how to do that at this moment. perhaps later. 2007/2/27, Mark [EMAIL PROTECTED]: i don`t think that helps.. the text must be editable so it doesn`t _NEED_ to be a div. also a div could cause other problems.. and it will in the place where i need it :( i will try to put up a example somewhere. 2007/2/27, Danny Wachsstock [EMAIL PROTECTED]: I'm not sure if this will solve your problem, but a cheap way to emulate html_entity_decode is: function html_entity_decode(string) {return $('div').html(string).text()} It creates a div, uses your string as the innerHTML, and outputs the HTML created. If the string is not valid HTML, things may not work. The reverse would beL function html_entity_encode(string) {return $('div').text(string).html()} Hope this helps Danny Wachsstock Mark-235 wrote: no that`s not the best way.. can`t i assign a php function to javascript and use it the same way i would have done with php? 2007/2/27, Sam Collett [EMAIL PROTECTED]: 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_linkgt;#INCLUDE#lt;/divgt; 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/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/problem-with-%22edit-in-place%22-on-HTML-coding.-tf3295602.html#a9188810
Re: [jQuery] problem with edit in place on HTML coding.
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_linkgt;#INCLUDE#lt;/divgt; 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/
Re: [jQuery] problem with edit in place on HTML coding.
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.. 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_linkgt;#INCLUDE#lt;/divgt; 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/
Re: [jQuery] problem with edit in place on HTML coding.
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_linkgt;#INCLUDE#lt;/divgt; 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/
Re: [jQuery] problem with edit in place on HTML coding.
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.. :( 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_linkgt;#INCLUDE#lt;/divgt; 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/
Re: [jQuery] problem with edit in place on HTML coding.
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_linkgt;#INCLUDE#lt;/divgt; 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/
Re: [jQuery] problem with edit in place on HTML coding.
I'm not sure if this will solve your problem, but a cheap way to emulate html_entity_decode is: function html_entity_decode(string) {return $('div').html(string).text()} It creates a div, uses your string as the innerHTML, and outputs the HTML created. If the string is not valid HTML, things may not work. The reverse would beL function html_entity_encode(string) {return $('div').text(string).html()} Hope this helps Danny Wachsstock Mark-235 wrote: no that`s not the best way.. can`t i assign a php function to javascript and use it the same way i would have done with php? 2007/2/27, Sam Collett [EMAIL PROTECTED]: 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_linkgt;#INCLUDE#lt;/divgt; 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/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/problem-with-%22edit-in-place%22-on-HTML-coding.-tf3295602.html#a9188810 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] problem with edit in place on HTML coding.
i don`t think that helps.. the text must be editable so it doesn`t _NEED_ to be a div. also a div could cause other problems.. and it will in the place where i need it :( i will try to put up a example somewhere. 2007/2/27, Danny Wachsstock [EMAIL PROTECTED]: I'm not sure if this will solve your problem, but a cheap way to emulate html_entity_decode is: function html_entity_decode(string) {return $('div').html(string).text()} It creates a div, uses your string as the innerHTML, and outputs the HTML created. If the string is not valid HTML, things may not work. The reverse would beL function html_entity_encode(string) {return $('div').text(string).html()} Hope this helps Danny Wachsstock Mark-235 wrote: no that`s not the best way.. can`t i assign a php function to javascript and use it the same way i would have done with php? 2007/2/27, Sam Collett [EMAIL PROTECTED]: 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_linkgt;#INCLUDE#lt;/divgt; 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/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/problem-with-%22edit-in-place%22-on-HTML-coding.-tf3295602.html#a9188810 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] problem with edit in place on HTML coding.
On 26 Feb 2007, at 21:55, 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_linkgt;#INCLUDE#lt;/divgt; Which edit in place plugin are you using? jEditable ( http:// www.appelsiini.net/~tuupola/javascript/jEditable/ ) or something else? -- Mika Tuupola http://www.appelsiini.net/~tuupola/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] problem with edit in place on HTML coding.
sorry, i forgot to mention that.. i`m using the jEditable plugin. 2007/2/26, Mika Tuupola [EMAIL PROTECTED]: On 26 Feb 2007, at 21:55, 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_linkgt;#INCLUDE#lt;/divgt; Which edit in place plugin are you using? jEditable ( http:// www.appelsiini.net/~tuupola/javascript/jEditable/ ) or something else? -- 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/