hi there -

trying to use the wildly available and popular livesearch.
the script is called from an iframe, and works fine in the iframe.
but i want the results to appear in a 2nd iframe, in the parent
document.

ie :

<iframe id='searchform' src=' the actual php with the form here'></
iframe>

<iframe id='results' src=' the results go here'></iframe>

the livesearch class i use has a couple extra modifiers than the
standard one, but still easy to read :

initialize:
function(searchItem,resultsItem,activityItem,searchCat,searchFilters)
{

resultsItem and activityItem need to be targeted from one iframe to
another...

LS = new LiveSearch('keywords','can_search_results','searchwait',
'catsel', 'geo');

what do i have to type in here to call these ?
window.frames['results'] ? parent.location.searchwait ??

any help appreciated.

thanks,

kr
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to