hey guys im trying to save a url link in a html form but problem is i cant save urls like this :
modules.php?name=phpBB3&file=memberlist
but开发者_运维知识库 the result after using jquery is this url :
modules.php?name=phpBB3
i heard i should use json but no idea how to do that
encodeURIComponent() should help
data: "link="+encodeURIComponent(link)
Or pass data as object not string. jQuery will encode values itself:
data: {
  link: link
}
what does the client send when you invoke POST from jquery? you can use Fiddler to see the http traffic.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论