File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,17 +44,17 @@ The plugin will duplicate the input field's immediate parent when creating a new
4444
4545You should provide and ` id ` and ` name ` attribute for your field(s), and they should be the same value.
4646
47- ```html
47+ ``` html
4848
4949 <div id =" myTextBoxes" >
5050 <div class =" txtBoxRow" >
5151 <input type =" text" id =" txt0" name =" txt0" />
5252 </div >
5353 </div >
5454
55- ```
55+ ```
5656
57- ```javascript
57+ ``` javascript
5858
5959 $ ( " #txt0" ).addRemoveTextbox ( {
6060 addButtonClass : " addRemoveButton imgAdd" ,
@@ -63,7 +63,7 @@ You should provide and `id` and `name` attribute for your field(s), and they sho
6363 removeButtonTooltip : " Remove"
6464 } );
6565
66- ```
66+ ```
6767AddRemoveTextbox also understands array notation, so you could use ` id="txt[0]" ` .
6868
6969You can also initialize AddRemoveTextbox on a large preexisting group of text boxes.
You can’t perform that action at this time.
0 commit comments