This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

& character in javascript  RSS feed

 
Naresh Kavala
Greenhorn
Posts: 23
  • 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
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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
Boost this thread!