override automatic trim of request object

Reply

Join Date: May 2009
Posts: 18
Reputation: jimib is an unknown quantity at this point 
Solved Threads: 1
jimib jimib is offline Offline
Newbie Poster

override automatic trim of request object

 
0
  #1
Oct 21st, 2009
I have a text box that I use as part of a search function.
Whenever the user searches for "bet" it finds the first string that includes "bet", as in "abet". That's OK. When the user searches for " bet " it finds the first instance of " bet ". Still OK. Now, I have a "Next" button that searces for the next instance. It works, but the blanks in " bet " are gone and it finds "abet". What is happening is that the next button is an href that has as a parameter the contents of the search string " bet ", but when I request it, I get "bet". Does anyone have any idea how to override this behavior?
Last edited by jimib; Oct 21st, 2009 at 6:45 pm.
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC