Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table id="testing" style="padding-top: 10px">
- <thead>
- <tr>
- <th>Student Name</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a href="javascript:void(0);" class="addCF">Add</a></td>
- <td>
- <tiles:insert definition=".textInput">
- <tiles:put name="property" value="parameter[01]"/>
- <tiles:put name="width" value="75"/>
- </tiles:insert>
- </td>
- <tr>
- </tbody>
- </table>
- <script type="text/javascript">
- $(document).ready(function(){
- $(".addCF").click(function(){
- $("#testing").append('<tr><td>
- <tiles:insert definition=".textInput">
- <tiles:put name="property" value="parameter[02]"/>
- <tiles:put name="width" value="75"/>
- </tiles:insert></td> </tr>');
- });
- });
- </script>
Add Comment
Please, Sign In to add comment