I am sure that its a regex in the "name=" bit so a regilar expression something like (0-9Aa-Zz) would do it
Alex Mcauley http://www.thevacancymarket.com ----- Original Message ----- From: "David Winslow" <[email protected]> To: "Prototype & script.aculo.us" <[email protected]> Sent: Monday, September 28, 2009 9:45 AM Subject: [Proto-Scripty] subscribing to event with element name starting with a certain text string > > If i got a input field with the name of field1,field2 etc and i want > to do below dynamically > "#participants [name=field1]:keyup": function() { > "#participants [name=field2]:keyup": function() { > > Is it possible to do something like this > "#participants [name=field*]:keyup": function() { > > where * can be any character like 1,2,3 etc > > Thanks for the help > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
