Unable to renaming a field name using jquery
<p>I have a problem. I have a label which displays a name. When I double click on it it becomes a text box and I can rename this text from here and on the onblur event it updates the name in the database.</p>

<p>the problem arises when I give "&lt;" and ">" brackets before and after the string.</p>

<p>For Example:</p>

<p>If I give value like this: </p>

<ul>
<li><code>&gt;name</code> or <code>name&lt;</code> it works fine</li>
<li><code>&gt;name&lt;</code> it also works fine</li>
</ul>

<p>problem arises when I gave</p>

<ul>
<li><code>&lt;name&gt;</code> it automatically creates tag like that <code>&lt;name&gt;1&lt;/name&gt;</code> and I am not able to rename it.</li>
<li>when I gave <code>&lt;name</code> or <code>name&gt;</code> it saves in database but its not coming from the database.I m not able to rename it.</li>
</ul>

<p>Anybody can give any idea why its happening??
thanx in advance..</p>
