I did something like this with an autocompleter, it should not be very
different with an Ajax link.
Use a fixed Id for your link (called MyLinkId in the example) and for
your input (MyTextId), and in the "onchange" property for your input,
try this :
lnk = document.getElementById('MyLinkId');
txt = document.getElementById('MyTextId');
lnk.url = '/umanager/addTag/' + txt.value;
I didn't tried this code but something like this should work.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---