Let's say I want to add some more input fields to this <p> tag, when user clicks on the + sign, at the end of it.
<p>
More Links: <span class="glyphicon glyphicon-plus"></span></br>
Link URL: <input type="text" name="blog_linku_one"> Link Name: <input type="text" name="blog_linkn_one"></br>
</p>
So if user clicks on that Plus sign, another link with a new name will be added:
<p>
More Links: <span class="glyphicon glyphicon-plus"></span></br>
Link URL: <input type="text" name="blog_linku_one"> Link Name: <input type="text" name="blog_linkn_one"></br>
Link URL 2: <input type="text" name="blog_linku_two"> Link Name 2: <input type="text" name="blog_linkn_two"></br>
</p>
And this process can continue as the user click on plus sign.
So how can I do this with Javascript or jQuery ?
Any idea please...
blog_linku[]so it passes through an array