I was wondering if there was such an extension or a built in tool for Dreamweaver that searches for all <INPUT> tags of TYPE 'checkbox' and sets a unique value for the VALUE attribute.
Example:
I have 3 checkboxes as follows:
and I want the end result to change the VALUE attribute as follows:
Problem is that I have thousands of those checkboxes instead of 3. So I was thinking maybe there is a value incrementing tool available somewhere that someone might know of that parses through all checkboxes or input tags.
I hope that explains it. Thanks in advance guys.
Example:
I have 3 checkboxes as follows:
Code:
<INPUT ID="chkOption1" TYPE="checkbox" VALUE="checkbox" /> <INPUT ID="chkOption2" TYPE="checkbox" VALUE="checkbox" /> <INPUT ID="chkOption3" TYPE="checkbox" VALUE="checkbox" />
and I want the end result to change the VALUE attribute as follows:
Code:
<INPUT ID="chkOption1" TYPE="checkbox" VALUE="1" />
<INPUT ID="chkOption2" TYPE="checkbox" VALUE="2" />
<INPUT ID="chkOption3" TYPE="checkbox" VALUE="3" />
Problem is that I have thousands of those checkboxes instead of 3. So I was thinking maybe there is a value incrementing tool available somewhere that someone might know of that parses through all checkboxes or input tags.
I hope that explains it. Thanks in advance guys.