Solved

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

Posted on 2011-02-25
8
334 Views
Last Modified: 2012-05-11
the +
is not posting
0
Comment
Question by:rgb192
  • 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
 
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Expert Comment

by:INeedHelp
ID: 34998893
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now