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

asked on

javascript post

javascript   (jquery edit in place)
get
values

some values have
&
character

which is a param separator

so how to use
&
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

?
I'm with Julian ?

In your header you mention POST, in your post you mention GET. Can you explain a little more about what you want to achieve.
SOLUTION
Avatar of Sar1973
Sar1973
Flag of Italy 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
SOLUTION
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
SOLUTION
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
ASKER CERTIFIED SOLUTION
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
@hielo - if you send data back like so

$.post('theurl.php',{key: value, ...} ...)

JQuery will encode the values you for you.

If you go the string concatenation route (which you shouldn't) you will need to manually encode.
SOLUTION
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
@hielo - apologies - did not mean to insinuate you did not know the above (should have left the @hielo off) was directing at the author. A case of starting a response in one direction, changing my mind and not going back to amend the start bit.
apology not necessary.  Like I said "the intention is appreciated." - honestly.
Avatar of rgb192

ASKER

thanks

I think hielo is on the right track

I apologize and did not ask the question properly

I have another question with source code

maybe you can apply your answers to this question

https://www.experts-exchange.com/questions/27854680/get.html