<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>jhtmlarea Issue Tracker Rss Feed</title><link>http://jhtmlarea.codeplex.com/WorkItem/List.aspx</link><description>jhtmlarea Issue Tracker Rss Description</description><item><title>Commented Issue: Unable to get value of the property 'msie': [16161]</title><link>http://jhtmlarea.codeplex.com/workitem/16161</link><description>Doesn&amp;#39;t work with latest version of jQuery, I get this error&amp;#58;&lt;br /&gt;&lt;br /&gt; Unable to get value of the property &amp;#39;msie&amp;#39;&amp;#58;&lt;br /&gt;Comments: ** Comment from web user: wilpig ** &lt;p&gt;Duplicate of bug #15990 &lt;/p&gt;&lt;p&gt;[http://jhtmlarea.codeplex.com/workitem/15990](http://www.example.com)&lt;/p&gt;</description><author>wilpig</author><pubDate>Thu, 09 May 2013 02:07:52 GMT</pubDate><guid isPermaLink="false">Commented Issue: Unable to get value of the property 'msie': [16161] 20130509020752A</guid></item><item><title>Created Issue: Bug: $element.htmlarea('html', '') doesn't do anything [16190]</title><link>http://jhtmlarea.codeplex.com/workitem/16190</link><description>How to reproduce&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#42; &amp;#36;element.htmlarea&amp;#40;&amp;#39;html&amp;#39;, &amp;#39;&amp;#39;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#42; Expected behavior&amp;#58; editor is emptied&lt;br /&gt;&amp;#42; Observed behavior&amp;#58; nothing happened&lt;br /&gt;&lt;br /&gt;The bug is caused by the following code&amp;#58;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;        html&amp;#58; function &amp;#40;v&amp;#41; &amp;#123;&lt;br /&gt;            if &amp;#40;v&amp;#41; &amp;#123;&lt;br /&gt;                this.textarea.val&amp;#40;v&amp;#41;&amp;#59;&lt;br /&gt;                this.updateHtmlArea&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125; else &amp;#123;&lt;br /&gt;                return this.toHtmlString&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;,&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;if&amp;#40;v&amp;#41; returns &amp;#39;false&amp;#39; when v is empty.&lt;br /&gt;&lt;br /&gt;Solution&amp;#58; check for &amp;#39;undefined&amp;#39;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;        html&amp;#58; function &amp;#40;v&amp;#41; &amp;#123;&lt;br /&gt;            if &amp;#40;v &amp;#61;&amp;#61;&amp;#61; undefined&amp;#41; &amp;#123;&lt;br /&gt;                this.textarea.val&amp;#40;v&amp;#41;&amp;#59;&lt;br /&gt;                this.updateHtmlArea&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125; else &amp;#123;&lt;br /&gt;                return this.toHtmlString&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;        &amp;#125;,&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;</description><author>koosvdkolk</author><pubDate>Fri, 03 May 2013 18:33:00 GMT</pubDate><guid isPermaLink="false">Created Issue: Bug: $element.htmlarea('html', '') doesn't do anything [16190] 20130503063300P</guid></item><item><title>Commented Issue: Unable to get value of the property 'msie': [16161]</title><link>http://jhtmlarea.codeplex.com/workitem/16161</link><description>Doesn&amp;#39;t work with latest version of jQuery, I get this error&amp;#58;&lt;br /&gt;&lt;br /&gt; Unable to get value of the property &amp;#39;msie&amp;#39;&amp;#58;&lt;br /&gt;Comments: ** Comment from web user: skpatel20 ** &lt;p&gt;+1&lt;/p&gt;</description><author>skpatel20</author><pubDate>Sat, 27 Apr 2013 04:35:17 GMT</pubDate><guid isPermaLink="false">Commented Issue: Unable to get value of the property 'msie': [16161] 20130427043517A</guid></item><item><title>Created Issue: Unable to get value of the property 'msie': [16161]</title><link>http://jhtmlarea.codeplex.com/workitem/16161</link><description>Doesn&amp;#39;t work with latest version of jQuery, I get this error&amp;#58;&lt;br /&gt;&lt;br /&gt; Unable to get value of the property &amp;#39;msie&amp;#39;&amp;#58;&lt;br /&gt;</description><author>RichHamilton</author><pubDate>Mon, 15 Apr 2013 15:33:27 GMT</pubDate><guid isPermaLink="false">Created Issue: Unable to get value of the property 'msie': [16161] 20130415033327P</guid></item><item><title>Created Issue: using jhtmlarea in jtable [16111]</title><link>http://jhtmlarea.codeplex.com/workitem/16111</link><description>using this code inside jtable plugin to create a custom field returns document of null&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;var &amp;#36;dp &amp;#61; &amp;#36;&amp;#40;&amp;#34;&amp;#60;textarea class&amp;#61;&amp;#39;&amp;#34; &amp;#43; field.inputClass &amp;#43; &amp;#34;&amp;#39;&amp;#62;&amp;#34; &amp;#43; &amp;#40;value &amp;#124;&amp;#124; &amp;#39;&amp;#39;&amp;#41; &amp;#43; &amp;#34;&amp;#60;&amp;#47;textarea&amp;#62;&amp;#34;&amp;#41;&lt;br /&gt;&amp;#36;dp.htmlarea&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;return &amp;#36;dp&amp;#59;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;TypeError&amp;#58; Cannot read property &amp;#39;document&amp;#39; of null&lt;br /&gt;&lt;br /&gt;what can it be&amp;#63;&lt;br /&gt;</description><author>Mteodoro</author><pubDate>Wed, 20 Mar 2013 00:19:14 GMT</pubDate><guid isPermaLink="false">Created Issue: using jhtmlarea in jtable [16111] 20130320121914A</guid></item><item><title>Created Issue: How to disable edit text [16077]</title><link>http://jhtmlarea.codeplex.com/workitem/16077</link><description>Can I disable user editing text after called &amp;#63;&lt;br /&gt;&amp;#36;&amp;#40;&amp;#39;&amp;#35;textarea&amp;#39;&amp;#41;.htmlarea&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;Please assist, thanks.&lt;br /&gt;</description><author>tjcombos</author><pubDate>Thu, 28 Feb 2013 17:23:45 GMT</pubDate><guid isPermaLink="false">Created Issue: How to disable edit text [16077] 20130228052345P</guid></item><item><title>Commented Issue: r.select()  not a function on line 124 of version 0.7.5 [16032]</title><link>http://jhtmlarea.codeplex.com/workitem/16032</link><description>Hi,&lt;br /&gt;&lt;br /&gt;When calling pasteHTML, the debugger shows an error that    r.select&amp;#40;&amp;#41;&amp;#59;  &lt;br /&gt;on line 124 is not a function &amp;#40;version 0.7.5 of jHtmlArea&amp;#41;&lt;br /&gt;It still works, though ...&lt;br /&gt;&lt;br /&gt;Also, in Safari or Chrome, pasteHTML surrounds the pasted html with a double set of &amp;#60;span&amp;#62;&amp;#60;span&amp;#62;  ... &amp;#60;&amp;#47;span&amp;#62;&amp;#60;&amp;#47;span&amp;#62;&lt;br /&gt;so the extra insertion of a span on line 121 seems not necessary.&lt;br /&gt;Comments: ** Comment from web user: joncas ** &lt;p&gt;p.s.: I forgot to specify that this is using jquery 1.7.2&lt;/p&gt;</description><author>joncas</author><pubDate>Sat, 09 Feb 2013 05:57:34 GMT</pubDate><guid isPermaLink="false">Commented Issue: r.select()  not a function on line 124 of version 0.7.5 [16032] 20130209055734A</guid></item><item><title>Created Issue: r.select()  not a function on line 124 of version 0.7.5 [16032]</title><link>http://jhtmlarea.codeplex.com/workitem/16032</link><description>Hi,&lt;br /&gt;&lt;br /&gt;When calling pasteHTML, the debugger shows an error that    r.select&amp;#40;&amp;#41;&amp;#59;  &lt;br /&gt;on line 124 is not a function &amp;#40;version 0.7.5 of jHtmlArea&amp;#41;&lt;br /&gt;It still works, though ...&lt;br /&gt;&lt;br /&gt;Also, in Safari or Chrome, pasteHTML surrounds the pasted html with a double set of &amp;#60;span&amp;#62;&amp;#60;span&amp;#62;  ... &amp;#60;&amp;#47;span&amp;#62;&amp;#60;&amp;#47;span&amp;#62;&lt;br /&gt;so the extra insertion of a span on line 121 seems not necessary.&lt;br /&gt;</description><author>joncas</author><pubDate>Fri, 08 Feb 2013 16:55:59 GMT</pubDate><guid isPermaLink="false">Created Issue: r.select()  not a function on line 124 of version 0.7.5 [16032] 20130208045559P</guid></item><item><title>Commented Issue: IFRAME within jHtmlArea losing content on drag [16028]</title><link>http://jhtmlarea.codeplex.com/workitem/16028</link><description>Am implementing jHtmlArea on several TEXTAREA&amp;#39;s in my site and in one spot I have these elements within table rows that can be dragged using jQuery UI. But when they are dragged all the content in the IFRAME is lost. Explanation here&amp;#58;&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;www.sitepoint.com&amp;#47;forums&amp;#47;showthread.php&amp;#63;901148-Need-jquery-drag-and-drop-reorder-renumber-table-row-functionality&amp;#38;amp&amp;#59;p&amp;#61;5312938&amp;#38;amp&amp;#59;viewfull&amp;#61;1&amp;#35;post5312938&lt;br /&gt;&lt;br /&gt;JSFiddle here&amp;#58;&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;jsfiddle.net&amp;#47;5QL7W&amp;#47;1&amp;#47;&lt;br /&gt;Comments: ** Comment from web user: WebDevCA ** &lt;p&gt;The problem seems to stem from the fact that jHtmlArea uses IFRAME's to take the place of TEXTAREA's. But might it make sense to use DIV's instead of IFRAME's?&lt;/p&gt;</description><author>WebDevCA</author><pubDate>Wed, 06 Feb 2013 20:29:09 GMT</pubDate><guid isPermaLink="false">Commented Issue: IFRAME within jHtmlArea losing content on drag [16028] 20130206082909P</guid></item><item><title>Created Issue: IFRAME within jHtmlArea losing content on drag [16028]</title><link>http://jhtmlarea.codeplex.com/workitem/16028</link><description>Am implementing jHtmlArea on several TEXTAREA&amp;#39;s in my site and in one spot I have these elements within table rows that can be dragged using jQuery UI. But when they are dragged all the content in the IFRAME is lost. Explanation here&amp;#58;&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;www.sitepoint.com&amp;#47;forums&amp;#47;showthread.php&amp;#63;901148-Need-jquery-drag-and-drop-reorder-renumber-table-row-functionality&amp;#38;amp&amp;#59;p&amp;#61;5312938&amp;#38;amp&amp;#59;viewfull&amp;#61;1&amp;#35;post5312938&lt;br /&gt;&lt;br /&gt;JSFiddle here&amp;#58;&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;jsfiddle.net&amp;#47;5QL7W&amp;#47;1&amp;#47;&lt;br /&gt;</description><author>WebDevCA</author><pubDate>Tue, 05 Feb 2013 21:19:41 GMT</pubDate><guid isPermaLink="false">Created Issue: IFRAME within jHtmlArea losing content on drag [16028] 20130205091941P</guid></item><item><title>Created Issue: Incompatible with jQuery1.9 [15990]</title><link>http://jhtmlarea.codeplex.com/workitem/15990</link><description>&amp;#91;http&amp;#58;&amp;#47;&amp;#47;jquery.com&amp;#47;upgrade-guide&amp;#47;1.9&amp;#47;&amp;#35;jquery-browser-removed&amp;#93;&amp;#40;http&amp;#58;&amp;#47;&amp;#47;jquery.com&amp;#47;upgrade-guide&amp;#47;1.9&amp;#47;&amp;#35;jquery-browser-removed&amp;#41;&lt;br /&gt;&lt;br /&gt;jQuery1.9 removed the .browser method entirely checks like &amp;#40;&amp;#36;.browser.msie&amp;#63;0&amp;#58;4&amp;#41; are now broken.&lt;br /&gt;</description><author>wilpig</author><pubDate>Thu, 24 Jan 2013 09:20:09 GMT</pubDate><guid isPermaLink="false">Created Issue: Incompatible with jQuery1.9 [15990] 20130124092009A</guid></item><item><title>Commented Issue: createLink doesn't work in firefox [10697]</title><link>http://jhtmlarea.codeplex.com/workitem/10697</link><description>&amp;#60;p&amp;#62;The link does not get inserted into the textarea after completing the popup dialog, works fine in IE. &amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;This has also been tested on the live demo at http&amp;#58;&amp;#47;&amp;#47;pietschsoft.com&amp;#47;demo&amp;#47;jHtmlArea where the same problem was found.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Firefox Version 3.5.9&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: Bizbaz ** &lt;p&gt;This was makred as closed but I do not believe it is resolved. Using Firefox 16.0.2 I still see this issue and have tested it on the live demo noted above. The link functionality does work if you highlight text in the editor and create a link from that, but it will not just insert a hyperlink. &lt;/p&gt;</description><author>Bizbaz</author><pubDate>Wed, 23 Jan 2013 18:46:49 GMT</pubDate><guid isPermaLink="false">Commented Issue: createLink doesn't work in firefox [10697] 20130123064649P</guid></item><item><title>Commented Issue: jHtmlArea - Cursor position issue [15963]</title><link>http://jhtmlarea.codeplex.com/workitem/15963</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I am using jHtmlArea0.7.0 for textarea in my JSP page. In existing plugin, I have made some changes for inserting images on textarea &amp;#40;using insertImage function of existing plugin&amp;#41;. By these changes I am able to insert multiple images along with content. &lt;br /&gt;While inserting the images on textarea, I find all images are inserted at zero cursor position instead of  current cursor location.&lt;br /&gt;For solving this, I made certain changes in existing code which you can find below but these all are returning cursor position zero.&lt;br /&gt;&lt;br /&gt;I will appreciate in case of anyone can help me on this task. Also please share with me in case of known issue.&lt;br /&gt;&lt;br /&gt;&amp;#47;&amp;#47; code for reference-------------------------&lt;br /&gt;function doGetCaretPosition&amp;#40;ctrl&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;var CaretPos &amp;#61; 0&amp;#59;&amp;#9;&amp;#47;&amp;#47; IE Support&lt;br /&gt;&amp;#9;if &amp;#40;document.selection&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;ctrl.focus &amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;var Sel &amp;#61; document.selection.createRange&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;Sel.moveStart &amp;#40;&amp;#39;character&amp;#39;, -ctrl.value.length&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;CaretPos &amp;#61; Sel.text.length&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;else if &amp;#40;ctrl.selectionStart &amp;#124;&amp;#124; ctrl.selectionStart &amp;#61;&amp;#61; &amp;#39;0&amp;#39;&amp;#41;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#47;&amp;#47; Firefox support&lt;br /&gt;&amp;#9;&amp;#9;CaretPos &amp;#61; ctrl.selectionStart&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;return &amp;#40;CaretPos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;function setCaretPosition&amp;#40;ctrl, pos&amp;#41;&amp;#123;&lt;br /&gt;&amp;#9;if&amp;#40;ctrl.setSelectionRange&amp;#41;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;ctrl.focus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;ctrl.setSelectionRange&amp;#40;pos,pos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;else if &amp;#40;ctrl.createTextRange&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;var range &amp;#61; ctrl.createTextRange&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;range.collapse&amp;#40;true&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;range.moveEnd&amp;#40;&amp;#39;character&amp;#39;, pos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;range.moveStart&amp;#40;&amp;#39;character&amp;#39;, pos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;range.select&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;cpos&amp;#61;doGetCaretPosition&amp;#40;document.getElementById&amp;#40;&amp;#39;test1&amp;#39;&amp;#41;&amp;#41;&amp;#59; &amp;#47;&amp;#47; cursor position always returns 0&lt;br /&gt;setCaretPosition&amp;#40;document.getElementById&amp;#40;&amp;#39;test1&amp;#39;&amp;#41;,cpos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#47;&amp;#47; code for reference-------------------------&lt;br /&gt;&lt;br /&gt;Along with these code changes, I followed the link below, This is not working for me.&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;jhtmlarea.codeplex.com&amp;#47;workitem&amp;#47;10192 &lt;br /&gt;&lt;br /&gt;I will appreciate for your quick reply.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Dilip Gupta&lt;br /&gt;Comments: ** Comment from web user: dilipkgupta ** &lt;p&gt;any update on this?&lt;/p&gt;</description><author>dilipkgupta</author><pubDate>Mon, 21 Jan 2013 09:30:48 GMT</pubDate><guid isPermaLink="false">Commented Issue: jHtmlArea - Cursor position issue [15963] 20130121093048A</guid></item><item><title>Commented Issue: jHtmlArea - Cursor position issue [15963]</title><link>http://jhtmlarea.codeplex.com/workitem/15963</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I am using jHtmlArea0.7.0 for textarea in my JSP page. In existing plugin, I have made some changes for inserting images on textarea &amp;#40;using insertImage function of existing plugin&amp;#41;. By these changes I am able to insert multiple images along with content. &lt;br /&gt;While inserting the images on textarea, I find all images are inserted at zero cursor position instead of  current cursor location.&lt;br /&gt;For solving this, I made certain changes in existing code which you can find below but these all are returning cursor position zero.&lt;br /&gt;&lt;br /&gt;I will appreciate in case of anyone can help me on this task. Also please share with me in case of known issue.&lt;br /&gt;&lt;br /&gt;&amp;#47;&amp;#47; code for reference-------------------------&lt;br /&gt;function doGetCaretPosition&amp;#40;ctrl&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;var CaretPos &amp;#61; 0&amp;#59;&amp;#9;&amp;#47;&amp;#47; IE Support&lt;br /&gt;&amp;#9;if &amp;#40;document.selection&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;ctrl.focus &amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;var Sel &amp;#61; document.selection.createRange&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;Sel.moveStart &amp;#40;&amp;#39;character&amp;#39;, -ctrl.value.length&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;CaretPos &amp;#61; Sel.text.length&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;else if &amp;#40;ctrl.selectionStart &amp;#124;&amp;#124; ctrl.selectionStart &amp;#61;&amp;#61; &amp;#39;0&amp;#39;&amp;#41;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#47;&amp;#47; Firefox support&lt;br /&gt;&amp;#9;&amp;#9;CaretPos &amp;#61; ctrl.selectionStart&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;return &amp;#40;CaretPos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;function setCaretPosition&amp;#40;ctrl, pos&amp;#41;&amp;#123;&lt;br /&gt;&amp;#9;if&amp;#40;ctrl.setSelectionRange&amp;#41;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;ctrl.focus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;ctrl.setSelectionRange&amp;#40;pos,pos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;else if &amp;#40;ctrl.createTextRange&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;var range &amp;#61; ctrl.createTextRange&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;range.collapse&amp;#40;true&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;range.moveEnd&amp;#40;&amp;#39;character&amp;#39;, pos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;range.moveStart&amp;#40;&amp;#39;character&amp;#39;, pos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;range.select&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;cpos&amp;#61;doGetCaretPosition&amp;#40;document.getElementById&amp;#40;&amp;#39;test1&amp;#39;&amp;#41;&amp;#41;&amp;#59; &amp;#47;&amp;#47; cursor position always returns 0&lt;br /&gt;setCaretPosition&amp;#40;document.getElementById&amp;#40;&amp;#39;test1&amp;#39;&amp;#41;,cpos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#47;&amp;#47; code for reference-------------------------&lt;br /&gt;&lt;br /&gt;Along with these code changes, I followed the link below, This is not working for me.&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;jhtmlarea.codeplex.com&amp;#47;workitem&amp;#47;10192 &lt;br /&gt;&lt;br /&gt;I will appreciate for your quick reply.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Dilip Gupta&lt;br /&gt;Comments: ** Comment from web user: dilipkgupta ** &lt;p&gt;Along with description above, I would like to add something which is related with existing jHtmlarea plugin changes. &lt;br&gt;In existing plugin, I have added image upload option on image function which upload images on server directory and insert images inside textarea. &lt;br&gt;With these changes, images are inserted at first place always and cursor position returns zero position.&lt;/p&gt;&lt;p&gt;If we don't make any changes in plugin, images are always inserted at cursor position but inserted images are not getting displayed. It is showing as a break images.&lt;/p&gt;&lt;p&gt;Please help.&lt;/p&gt;</description><author>dilipkgupta</author><pubDate>Thu, 17 Jan 2013 06:33:35 GMT</pubDate><guid isPermaLink="false">Commented Issue: jHtmlArea - Cursor position issue [15963] 20130117063335A</guid></item><item><title>Created Issue: jHtmlArea - Cursor position issue [15963]</title><link>http://jhtmlarea.codeplex.com/workitem/15963</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I am using jHtmlArea0.7.0 for textarea in my JSP page. In existing plugin, I have made some changes for inserting images on textarea &amp;#40;using insertImage function of existing plugin&amp;#41;. By these changes I am able to insert multiple images along with content. &lt;br /&gt;While inserting the images on textarea, I find all images are inserted at zero cursor position instead of  current cursor location.&lt;br /&gt;For solving this, I made certain changes in existing code which you can find below but these all are returning cursor position zero.&lt;br /&gt;&lt;br /&gt;I will appreciate in case of anyone can help me on this task. Also please share with me in case of known issue.&lt;br /&gt;&lt;br /&gt;&amp;#47;&amp;#47; code for reference-------------------------&lt;br /&gt;function doGetCaretPosition&amp;#40;ctrl&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;var CaretPos &amp;#61; 0&amp;#59;&amp;#9;&amp;#47;&amp;#47; IE Support&lt;br /&gt;&amp;#9;if &amp;#40;document.selection&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;ctrl.focus &amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;var Sel &amp;#61; document.selection.createRange&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;Sel.moveStart &amp;#40;&amp;#39;character&amp;#39;, -ctrl.value.length&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;CaretPos &amp;#61; Sel.text.length&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;else if &amp;#40;ctrl.selectionStart &amp;#124;&amp;#124; ctrl.selectionStart &amp;#61;&amp;#61; &amp;#39;0&amp;#39;&amp;#41;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#47;&amp;#47; Firefox support&lt;br /&gt;&amp;#9;&amp;#9;CaretPos &amp;#61; ctrl.selectionStart&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;return &amp;#40;CaretPos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;function setCaretPosition&amp;#40;ctrl, pos&amp;#41;&amp;#123;&lt;br /&gt;&amp;#9;if&amp;#40;ctrl.setSelectionRange&amp;#41;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;ctrl.focus&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;ctrl.setSelectionRange&amp;#40;pos,pos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;else if &amp;#40;ctrl.createTextRange&amp;#41; &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;var range &amp;#61; ctrl.createTextRange&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;range.collapse&amp;#40;true&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;range.moveEnd&amp;#40;&amp;#39;character&amp;#39;, pos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;range.moveStart&amp;#40;&amp;#39;character&amp;#39;, pos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;range.select&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;cpos&amp;#61;doGetCaretPosition&amp;#40;document.getElementById&amp;#40;&amp;#39;test1&amp;#39;&amp;#41;&amp;#41;&amp;#59; &amp;#47;&amp;#47; cursor position always returns 0&lt;br /&gt;setCaretPosition&amp;#40;document.getElementById&amp;#40;&amp;#39;test1&amp;#39;&amp;#41;,cpos&amp;#41;&amp;#59;&lt;br /&gt;&amp;#47;&amp;#47; code for reference-------------------------&lt;br /&gt;&lt;br /&gt;Along with these code changes, I followed the link below, This is not working for me.&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;jhtmlarea.codeplex.com&amp;#47;workitem&amp;#47;10192 &lt;br /&gt;&lt;br /&gt;I will appreciate for your quick reply.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Dilip Gupta&lt;br /&gt;</description><author>dilipkgupta</author><pubDate>Wed, 16 Jan 2013 14:20:49 GMT</pubDate><guid isPermaLink="false">Created Issue: jHtmlArea - Cursor position issue [15963] 20130116022049P</guid></item><item><title>Commented Issue: IE9 Issue with second textarea [15843]</title><link>http://jhtmlarea.codeplex.com/workitem/15843</link><description>I&amp;#39;m applying the jhtmlarea to all textarea&amp;#39;s in the page as shown below &amp;#40;called from &amp;#36;&amp;#40;document&amp;#41;.ready&amp;#40;&amp;#41;&amp;#41;&amp;#58;&lt;br /&gt; &amp;#36;&amp;#40;&amp;#39;textarea&amp;#39;&amp;#41;.htmlarea&amp;#40;&amp;#123;&lt;br /&gt;    toolbar&amp;#58; &amp;#91;&lt;br /&gt;        &amp;#91;&amp;#38;quot&amp;#59;bold&amp;#38;quot&amp;#59;, &amp;#38;quot&amp;#59;italic&amp;#38;quot&amp;#59;&amp;#93;,&lt;br /&gt;        &amp;#91; &amp;#38;quot&amp;#59;underline&amp;#38;quot&amp;#59;,&amp;#38;quot&amp;#59;superscript&amp;#38;quot&amp;#59;, &amp;#38;quot&amp;#59;subscript&amp;#38;quot&amp;#59;&amp;#93;&lt;br /&gt;       &amp;#93;&lt;br /&gt;  &amp;#125;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;The first text area works just fine. But on the second one the iFrame has a height of 0 and the text area is not hidden.  When I add the below code right after the htmlarea&amp;#40;&amp;#41; I&amp;#39;m able to now see and use the editor but the text area still shows as a small box.  My understanding is that setting the style to display none or using the hide&amp;#40;&amp;#41; should get rid of the textarea but something is coming into play and setting the text area to display&amp;#58;block.&lt;br /&gt;&lt;br /&gt;&amp;#36;&amp;#40;&amp;#39;iframe&amp;#39;&amp;#41;.height&amp;#40;60&amp;#41;&amp;#59;&lt;br /&gt;&amp;#36;&amp;#40;&amp;#39;textarea&amp;#39;&amp;#41;.attr&amp;#40;&amp;#38;quot&amp;#59;style&amp;#38;quot&amp;#59;, &amp;#38;quot&amp;#59;display&amp;#58;none&amp;#38;quot&amp;#59;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#36;&amp;#40;&amp;#39;textarea&amp;#39;&amp;#41;.height&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;&amp;#36;&amp;#40;&amp;#39;textarea&amp;#39;&amp;#41;.width&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;&amp;#36;&amp;#40;&amp;#39;textarea&amp;#39;&amp;#41;.hide&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;The &amp;#36;&amp;#40;&amp;#39;textarea&amp;#39;&amp;#41;.html&amp;#40;&amp;#41; call works just find in IE8, Chrome and Firefox.&lt;br /&gt;Comments: ** Comment from web user: hsharp063 ** &lt;p&gt;I figured it out.  I wasn't taking into account that one of the textareas was dependent on a drop down selection and wasn't generated at the time the $(document).ready() fired.  Even if I called $('textarea').htmlarea(); on $(document).ready() and then again on the specific element when the second textarea was displayed I had issues.  I had to use the IDs rather than all textarea elements and it works just fine. &lt;/p&gt;</description><author>hsharp063</author><pubDate>Mon, 17 Dec 2012 04:30:05 GMT</pubDate><guid isPermaLink="false">Commented Issue: IE9 Issue with second textarea [15843] 20121217043005A</guid></item><item><title>Created Issue: IE9 Issue with second textarea [15843]</title><link>http://jhtmlarea.codeplex.com/workitem/15843</link><description>I&amp;#39;m applying the jhtmlarea to all textarea&amp;#39;s in the page as shown below &amp;#40;called from &amp;#36;&amp;#40;document&amp;#41;.ready&amp;#40;&amp;#41;&amp;#41;&amp;#58;&lt;br /&gt; &amp;#36;&amp;#40;&amp;#39;textarea&amp;#39;&amp;#41;.htmlarea&amp;#40;&amp;#123;&lt;br /&gt;    toolbar&amp;#58; &amp;#91;&lt;br /&gt;        &amp;#91;&amp;#38;quot&amp;#59;bold&amp;#38;quot&amp;#59;, &amp;#38;quot&amp;#59;italic&amp;#38;quot&amp;#59;&amp;#93;,&lt;br /&gt;        &amp;#91; &amp;#38;quot&amp;#59;underline&amp;#38;quot&amp;#59;,&amp;#38;quot&amp;#59;superscript&amp;#38;quot&amp;#59;, &amp;#38;quot&amp;#59;subscript&amp;#38;quot&amp;#59;&amp;#93;&lt;br /&gt;       &amp;#93;&lt;br /&gt;  &amp;#125;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;The first text area works just fine. But on the second one the iFrame has a height of 0 and the text area is not hidden.  When I add the below code right after the htmlarea&amp;#40;&amp;#41; I&amp;#39;m able to now see and use the editor but the text area still shows as a small box.  My understanding is that setting the style to display none or using the hide&amp;#40;&amp;#41; should get rid of the textarea but something is coming into play and setting the text area to display&amp;#58;block.&lt;br /&gt;&lt;br /&gt;&amp;#36;&amp;#40;&amp;#39;iframe&amp;#39;&amp;#41;.height&amp;#40;60&amp;#41;&amp;#59;&lt;br /&gt;&amp;#36;&amp;#40;&amp;#39;textarea&amp;#39;&amp;#41;.attr&amp;#40;&amp;#38;quot&amp;#59;style&amp;#38;quot&amp;#59;, &amp;#38;quot&amp;#59;display&amp;#58;none&amp;#38;quot&amp;#59;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#36;&amp;#40;&amp;#39;textarea&amp;#39;&amp;#41;.height&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;&amp;#36;&amp;#40;&amp;#39;textarea&amp;#39;&amp;#41;.width&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;&amp;#36;&amp;#40;&amp;#39;textarea&amp;#39;&amp;#41;.hide&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;The &amp;#36;&amp;#40;&amp;#39;textarea&amp;#39;&amp;#41;.html&amp;#40;&amp;#41; call works just find in IE8, Chrome and Firefox.&lt;br /&gt;</description><author>hsharp063</author><pubDate>Fri, 14 Dec 2012 14:22:02 GMT</pubDate><guid isPermaLink="false">Created Issue: IE9 Issue with second textarea [15843] 20121214022202P</guid></item><item><title>Commented Issue: this.pasteHTML() returning 'r.select is not a function' error in firefox [9125]</title><link>http://jhtmlarea.codeplex.com/workitem/9125</link><description>&amp;#60;p&amp;#62;line 123 of jHTMLArea-0.7.0.js is causes an error in firefox.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;&amp;#35;160&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;commenting out this line seems to fix this issue.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;Comments: ** Comment from web user: nverwer ** &lt;p&gt;The problem is still present in jHTMLArea-0.7.5, and the firefox version of 2012-11-27 (don't know which version number, I have lost count).&lt;br&gt;The suggested fix works.&lt;/p&gt;</description><author>nverwer</author><pubDate>Tue, 27 Nov 2012 15:16:13 GMT</pubDate><guid isPermaLink="false">Commented Issue: this.pasteHTML() returning 'r.select is not a function' error in firefox [9125] 20121127031613P</guid></item><item><title>Commented Issue: selecting an area in scrollable text [14279]</title><link>http://jhtmlarea.codeplex.com/workitem/14279</link><description>&amp;#60;p&amp;#62;When I have a html page that I am trying to edit that is long enough to generate a vertical scrollbar, if I try to select any of the text beyond the initial screen &amp;#40;by scrolling to the desired text&amp;#41;, the text does not highlight and if I try to highlight text that crosses that boundry the text jumps to the end of the document.  Is there some setting that I need to modify to allow selecting of text beyond the first display area&amp;#63;   I have tried numerous html codes and it doesn&amp;#38;&amp;#35;39&amp;#59;t seem to be related to the content.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Any ideas on how to solve this&amp;#63;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Note I am using version 0.7.0.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Note&amp;#58;  This problem seems to be an issue with only IE9,  Chome and IE8 work ok,  Hmmmm&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: KimJoyFox ** &lt;p&gt;This issue is with IE9 and the line in the main .js file that says: &lt;/p&gt;&lt;p&gt;edit.designMode = 'on'; &lt;/p&gt;&lt;p&gt;Comment out (or remove) this line, and it will work.&lt;/p&gt;&lt;p&gt;You can also view my article on this on KimJoyFox.com&lt;/p&gt;</description><author>KimJoyFox</author><pubDate>Mon, 19 Nov 2012 17:45:58 GMT</pubDate><guid isPermaLink="false">Commented Issue: selecting an area in scrollable text [14279] 20121119054558P</guid></item><item><title>Commented Issue: How to disable JHtml text area? [13593]</title><link>http://jhtmlarea.codeplex.com/workitem/13593</link><description>&amp;#60;p&amp;#62;I would like to disable the Text area of WISWIYG editor.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;How can I do that.&amp;#63;Answers are helpful.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Regards,&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Thiru,&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: aaron_hill ** &lt;p&gt;why is this closed?  I'm having the same problem..&lt;/p&gt;</description><author>aaron_hill</author><pubDate>Wed, 14 Nov 2012 01:00:24 GMT</pubDate><guid isPermaLink="false">Commented Issue: How to disable JHtml text area? [13593] 20121114010024A</guid></item></channel></rss>