• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

& character in javascript

 
Naresh Kavala
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,

I have implemented search row functionality for data table in java script. This search is not working, if search string contains & characters.
Search String : "Martin & "
Result should be : "Martin & Luther King"

Search is working and result is displaying properly until I enter "Martin &" but if I enter space after "&" result is not showing.


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This likely has little to do with JavaScript, but with handling the URL for the search. But you haven't shown us any code so it's hard to say.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic