Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

multiple line string in jquery

add `your multi line string`
$("#addSelect").click(function() {
    $("#optionsForm").after(`<tr>
    <td><input type="text" class="optionField" value="Options" /></td>
    <td>
        <ul class="option">
            <li><select><option>Value..</option></select></li>
        </ul>
    </td>
</tr>`);
} );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiple #line #string #jquery
ADD COMMENT
Topic
Name
3+9 =