You are here: Re: Search button « HTML « IT news, forums, messages
Re: Search button

Posted by BootNic on 11/30/07 06:13

BootNic <b00tnic@yahoo.com> wrote: news:Xns99F85784EC4CBootNic@
85.214.90.236:

> "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">

That second action should have been method.

<form action="/_the_new_page" method="get">

[snip]

--
BootNic Friday November 30, 2007 1:13 AM
A person without a sense of humor is like a wagon without springs,
jolted by every pebble in the road.
*Henry Ward Beecher*

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация