Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
arzo2000 #1
Auto increment VALUE attribute extension
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:
<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:
<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.
arzo2000 Guest
-
Auto Increment increase by 100 at a time?
Hello, I would like my Auto Increment ID field, to increase by 100 at a time, as opposed to the normal 1. Is this possible? If so, how would I... -
MySQL DB auto-increment went crazy? How to reset?
Hello, I am testing a site in which the order number column it the order header file is an auto-number integer. Today every time I try to place... -
How to Handle Primary Key Auto Increment?
Hello, I'm needing some guidance with primary key generation. Oracle 8i db, I've got a table (PC) that uses unique numbers for the pk. Currently,... -
id after auto increment from a form
Okay I am trying to get the id of the row that this form inputs into the table. The ID auto increments. Is this possible? Help or even code... -
Auto Increment a number field
I have a memo field (History) and a number field (Count). What I require is that when the history field is updated then the count field will... -
Avelx webmaster #2
Re: Auto increment VALUE attribute extension
I think I know what you are wanting. You want to find and replace all the
<input> tags or rather checkbox value. Well the only simple way is to go to the
edit menu in Dreamweaver 8 and go down to: find and replace. Set it up so that
is covers the entire website not just the page you are working on. You will
need to put in the find box this code:
VALUE="checkbox" />
Then in the replace box:
VALUE="what ever value" />
maybe this will help, hope it does!
Want free Macromedia tutorials on Studio 8?
[url]http://www.avelx.co.uk[/url]
Avelx webmaster Guest



Reply With Quote

