Re: [PHP] Passing variable to a page in a frameset

2008-08-15 Thread Dan Shirah
> > So, I had this all wrong before. Basically, I need two forms, right? One >> on my originating page, and one on the page within the frameset I want to >> pass the values to. Correct? >> >> My form, which I named my_search has one input field, which I named query. >> In the javascript, I put in

Re: [PHP] Passing variable to a page in a frameset

2008-08-15 Thread Jody Cleveland
On Aug 15, 2008, at 11:32 AM, Dan Shirah wrote: In the of my page, I have this: function submitForm(var1,var2) { top.mainFrame.document.my_search.text1.value = var1; top.mainFrame.document.my_search.text2.value = var2; top.mainFrame.document.my_search.submit(); document.search_form.submi

Re: [PHP] Passing variable to a page in a frameset

2008-08-15 Thread Dan Shirah
> > In the of my page, I have this: > > > function submitForm(var1,var2) { > top.mainFrame.document.my_search.text1.value = var1; > top.mainFrame.document.my_search.text2.value = var2; > top.mainFrame.document.my_search.submit(); > document.search_form.submit(); > } > > > If I type in a word

Re: [PHP] Passing variable to a page in a frameset

2008-08-15 Thread Jody Cleveland
On Aug 15, 2008, at 7:33 AM, Dan Shirah wrote: I apologize for my ignorance, I don't really know much about javascript. When I add all that into my form page, when I submit the form, it just replaces the page I was on with the form results, rather than in the new frame page. I'm assuming I need

Re: [PHP] Passing variable to a page in a frameset

2008-08-15 Thread Dan Shirah
> > I apologize for my ignorance, I don't really know much about > javascript. When I add all that into my form page, when I submit the > form, it just replaces the page I was on with the form results, rather > than in the new frame page. I'm assuming I need to put the url for the > frameset page i

Re: [PHP] Passing variable to a page in a frameset

2008-08-14 Thread tedd
At 4:06 PM -0500 8/14/08, george wrote: Thank you for taking the time to help me with this, I really appreciate it! - jody Make it easy on yourself and try this: http://sperling.com/examples/search/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones

Re: [PHP] Passing variable to a page in a frameset

2008-08-14 Thread george
On Thu, Aug 14, 2008 at 3:43 PM, Dan Shirah <[EMAIL PROTECTED]> wrote: >> > Hello, >> > >> > I've got a website here: http://beta.menashalibrary.org/about >> > >> > On every page, i've got a search box at the top. This search box >> > searches >> > the library's web catalog. The problem is, when so

Re: [PHP] Passing variable to a page in a frameset

2008-08-14 Thread Stut
On 14 Aug 2008, at 21:34, Jody Cleveland wrote: I've got a website here: http://beta.menashalibrary.org/about On every page, i've got a search box at the top. This search box searches the library's web catalog. The problem is, when someone searches, it takes them away from the site. What I'd

Re: [PHP] Passing variable to a page in a frameset

2008-08-14 Thread Dan Shirah
> > > Hello, > > > > I've got a website here: http://beta.menashalibrary.org/about > > > > On every page, i've got a search box at the top. This search box searches > > the library's web catalog. The problem is, when someone searches, it > takes > > them away from the site. What I'd like to do is t

Re: [PHP] Passing variable to a page in a frameset

2008-08-14 Thread Bastien Koert
On Thu, Aug 14, 2008 at 4:34 PM, Jody Cleveland <[EMAIL PROTECTED]>wrote: > Hello, > > I've got a website here: http://beta.menashalibrary.org/about > > On every page, i've got a search box at the top. This search box searches > the library's web catalog. The problem is, when someone searches, it

[PHP] Passing variable to a page in a frameset

2008-08-14 Thread Jody Cleveland
Hello, I've got a website here: http://beta.menashalibrary.org/about On every page, i've got a search box at the top. This search box searches the library's web catalog. The problem is, when someone searches, it takes them away from the site. What I'd like to do is take what a person searc