Solved

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

Posted on 2011-02-25
8
342 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 500 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Requirements JQuery 1.6+ HTML CSS Introduction This article was inspired by an EE question (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28372511.html) on how to make a page show some balloons animate up a page…
PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
The viewer will learn how to dynamically set the form action using jQuery.
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

635 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