Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

javascript with awesome_nested_fields #19

Open
penchiang opened this issue Jun 5, 2012 · 0 comments
Open

javascript with awesome_nested_fields #19

penchiang opened this issue Jun 5, 2012 · 0 comments

Comments

@penchiang
Copy link

I need to invoke a javascript function to one of the nested fields. So far, it works well for the field id such as:
$('model_name_attributes_0_fieldname')

However, for the nested field, I have trouble to invoke the javascript using the following id:
$('model_name_attributes_new_nested_item_fieldname')

The page source indicated the above is the correct id. However, it does not work. So, what is the correct id to be used for the nested fields so that I can execute a javascript function?

Can someone help?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant