aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes & character in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "& character in javascript" Watch "& character in javascript" New topic
Author

& character in javascript

Naresh Kavala
Greenhorn

Joined: Jun 07, 2008
Posts: 23
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

Joined: Jan 10, 2002
Posts: 61606
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: & character in javascript