Solved

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

Posted on 2011-02-25
8
337 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
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…
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…

776 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