Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-02-25
8
Medium Priority
?
344 Views
Last Modified: 2012-05-11
the +
is not posting
0
Comment
Question by:rgb192
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 4

Expert Comment

by:MarioAlcaide
ID: 34983442
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
0
 
LVL 1

Expert Comment

by:INeedHelp
ID: 34988542
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.
0
 

Author Comment

by:rgb192
ID: 34997861
>><![CDATA[ YOUR DATA HERE ]]>

how

could you give me a specific example
0
Docker-Compose to Simplify Multi-Container Builds

Our veteran DevOps Author takes you through how to build a multi-container environment, managed with a single utility in order to simplify your deployments.

 
LVL 1

Expert Comment

by:INeedHelp
ID: 34998870
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.
0
 
LVL 82

Expert Comment

by:hielo
ID: 35027147
>>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.
0
 
LVL 82

Accepted Solution

by:
hielo earned 2000 total points
ID: 35027156
>>Encode the data before sending it.
I meant to write "Encode the data using the encodeURIComponent() function before sending it."
0
 

Author Closing Comment

by:rgb192
ID: 35151371
thanks
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question