Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

jquery edit in place does not let me use '+' sign

the +
is not posting
Avatar of MarioAlcaide
MarioAlcaide

Hello,

A similar case to yours is posted here:
http://stackoverflow.com/questions/3022867/jquery-ajax-call-with-sign

If this doesnt help you, can you post the code?

Regards
Try wrapping your editable part in <![CDATA[ YOUR DATA HERE ]]>

A CDATA section is merely an alternative syntax for expressing character data; there is no semantic difference between character data that manifests as a CDATA section and character data that manifests as in the usual syntax in which "<" and "&" would be represented by "&lt;" and "&amp;", respectively.
Avatar of rgb192

ASKER

>><![CDATA[ YOUR DATA HERE ]]>

how

could you give me a specific example
It would be hard without seeing your code but it would be something similar to this :o)

<script type="text/javascript">
//<![CDATA[
document.write("+");
//]]>
</script>

Basically the part of your code that outputs data to the page would be wrapped in the CDATA tag.
Avatar of hielo
>>the + is not posting
Encode the data before sending it.  If you don't know what I am referring to and/or don't know how to accomplish that task, post a link to your page or post your code.
ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

thanks