When I hardcode a form into a div and try to get a handle on it via $
('') it works. When I include the txt dynamically via an AJAX update()
it doesnt:
--JS
function doUpdate(id, url) {
new Ajax.Updater(id, url);
}
doUpdate('search', 'search');
doUpdate('menu', 'me
True, but i was following some example in the book called "Practical
prototype and script.aculo.us" (Dupont).
I'll give both a go.
On Jan 22, 4:46 pm, disccomp wrote:
> Would it be easier to add something like:
>
> onClick="doSearch();"
>
> To:
> value="Go!"/>
--~--~-~--~~
jax/options
>
> HTH,
> --
> T.J. Crowder
> tj / crowder software / com
> Independent Software Engineer, consulting services available
>
> On Jan 21, 11:42 pm, theG wrote:
>
>
>
> > When I hardcode a form into a div and try to get a handle on it via $
> > (&