| 
 Posted by BootNic on 11/30/07 05:32 
"Shelly" <sheldonlg.news@asap-consult.com> wrote: 
news:13kv5o63hg13o18@corp.supernews.com:  
 
> I know this must be simple, but I need a little help as this isn't my 
> area. I have a search box called searchText and a search button called 
> searchButton.  If a user puts "foo" in the text box and clicks the 
> search button, I want this to change pages with "foo" as a parameter.  
> Sort of go to "_the_new_page?param=foo" from the onclick command.  How 
> do I construct that such that it forms that string and does a 
> window.location with that string?  I looked over the web, but didn't 
> find clear examples.  
 
<form action="/_the_new_page" action="get"> 
<div> 
  <label for="t1">search item </label> 
  <input type="text" id="t1" name="param"> 
</div> 
<div> 
  <input type="submit" value="searchButton"> 
</div> 
</form> 
 
--  
BootNic                               Friday November 30, 2007 12:32 AM 
"So tell me, just how long have you had this feeling that no one is   
watching you?"   
*Christopher Locke: Entropy Gradient Reversals*
 
[Back to original message] 
 |