How compare the value in jquery multiple checkbox (same name, variable value) to the value of many input text (same name, variable value). And if the checkbox is checked, change the value of the corresponding input text?
var modified = modified; (this is a reference value)
if ((checkbox checked value="111" == input text id="111")
if ((checkbox nochecked value="222" == input text id="222")
if ((checkbox nochecked value="333" == input text id="333")
if ((checkbox checked value="444" == input text id="444")
input text id="111" value="modified"
input text id="222" value="no changes"
input text id="333" value="no changes"
input text id="444" value="modified"
I really need it! thank you very much