Skip to content

Commit 0b4603d

Browse files
author
Rafael J. Staib
committed
Fix issue with iframe example
1 parent 1856a52 commit 0b4603d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

add-remove.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h4>Add new Step</h4>
5353
<label for="text">HTML Content *</label><br />
5454
<textarea id="text" rows="5"></textarea>
5555
</p>
56-
<p><a href="javascript:$('#wizard').steps('add', { title: $('#title').val(), content: $('#text').val() });">Add</a></p>
56+
<p><a href="javascript:void(0);" onclick="$('#wizard').steps('add', { title: $('#title').val(), content: $('#text').val() });">Add</a></p>
5757
<p>(*) Mandatory</p>
5858
</section>
5959

@@ -67,7 +67,7 @@ <h4>Insert Step</h4>
6767
<label for="text2">HTML Content *</label><br />
6868
<textarea id="text2" rows="5"></textarea>
6969
</p>
70-
<p><a href="javascript:$('#wizard').steps('insert', Number($('#position').val()), { title: $('#title2').val(), content: $('#text2').val() });">Insert</a></p>
70+
<p><a href="javascript:void(0);" onclick="$('#wizard').steps('insert', Number($('#position').val()), { title: $('#title2').val(), content: $('#text2').val() });">Insert</a></p>
7171
<p>(*) Mandatory</p>
7272
</section>
7373

@@ -77,7 +77,7 @@ <h4>Remove Step</h4>
7777
<label for="position2">Position (zero-based) *</label><br />
7878
<input id="position2" type="text">
7979
</p>
80-
<p><a href="javascript:$('#wizard').steps('remove', Number($('#position2').val()));">Remove</a></p>
80+
<p><a href="javascript:void(0);" onclick="$('#wizard').steps('remove', Number($('#position2').val()));">Remove</a></p>
8181
<p>(*) Mandatory</p>
8282
</section>
8383
</div>

0 commit comments

Comments
 (0)