Name attribute value change

take a look at this fiddle https://jsfiddle.net/fiddlehunt/76ybhnkx/ if you click edit and start typing in the service input(the first has hair as value) the value of the name attribute changes…is there any way the value of the adjacent price input changes WHEN i edit the service input and vice versa.

Ι could make the change in the name attribute when the price input is edited…
But I am seeking to change it’s name value when service input is edited…

The value of the name attribute of the service input is changed(if you inspect the element in the fiddle)to form[0][service](for the first input) …so for the price input must be made form[0][price]…

Simply change the second name when you edit the first name.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.