how to put the two input text fields on the same line through jquery
up vote
0
down vote
favorite
Actually i am fetching data from the Google Spread sheet which is saved from the client side. i want to put the two input fields on the same line.
Here is my piece of code which is appending the data in the div.
$('#commentdiv').append(`<center>
<table>
<tr>
<td><input class="form-control" type="text" name=""
id="updateinput_${it}" value="${formData}" style="width:100%;"></td>
</tr>
</table>
</center>`);
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<div id="commentdiv"></div>
Please anyone can help me to solve this issue ?
jquery html5
add a comment |
up vote
0
down vote
favorite
Actually i am fetching data from the Google Spread sheet which is saved from the client side. i want to put the two input fields on the same line.
Here is my piece of code which is appending the data in the div.
$('#commentdiv').append(`<center>
<table>
<tr>
<td><input class="form-control" type="text" name=""
id="updateinput_${it}" value="${formData}" style="width:100%;"></td>
</tr>
</table>
</center>`);
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<div id="commentdiv"></div>
Please anyone can help me to solve this issue ?
jquery html5
Pardeep Dhingra thankx for correction but complete piece of code is the part of jquery
– Rizwan Shaukat
16 hours ago
No one is answering my question. Why?
– Rizwan Shaukat
16 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Actually i am fetching data from the Google Spread sheet which is saved from the client side. i want to put the two input fields on the same line.
Here is my piece of code which is appending the data in the div.
$('#commentdiv').append(`<center>
<table>
<tr>
<td><input class="form-control" type="text" name=""
id="updateinput_${it}" value="${formData}" style="width:100%;"></td>
</tr>
</table>
</center>`);
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<div id="commentdiv"></div>
Please anyone can help me to solve this issue ?
jquery html5
Actually i am fetching data from the Google Spread sheet which is saved from the client side. i want to put the two input fields on the same line.
Here is my piece of code which is appending the data in the div.
$('#commentdiv').append(`<center>
<table>
<tr>
<td><input class="form-control" type="text" name=""
id="updateinput_${it}" value="${formData}" style="width:100%;"></td>
</tr>
</table>
</center>`);
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<div id="commentdiv"></div>
Please anyone can help me to solve this issue ?
$('#commentdiv').append(`<center>
<table>
<tr>
<td><input class="form-control" type="text" name=""
id="updateinput_${it}" value="${formData}" style="width:100%;"></td>
</tr>
</table>
</center>`);
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<div id="commentdiv"></div>
$('#commentdiv').append(`<center>
<table>
<tr>
<td><input class="form-control" type="text" name=""
id="updateinput_${it}" value="${formData}" style="width:100%;"></td>
</tr>
</table>
</center>`);
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<div id="commentdiv"></div>
jquery html5
jquery html5
edited 19 hours ago
Pardeep Dhingra
3,06662243
3,06662243
asked 19 hours ago
Rizwan Shaukat
13
13
Pardeep Dhingra thankx for correction but complete piece of code is the part of jquery
– Rizwan Shaukat
16 hours ago
No one is answering my question. Why?
– Rizwan Shaukat
16 hours ago
add a comment |
Pardeep Dhingra thankx for correction but complete piece of code is the part of jquery
– Rizwan Shaukat
16 hours ago
No one is answering my question. Why?
– Rizwan Shaukat
16 hours ago
Pardeep Dhingra thankx for correction but complete piece of code is the part of jquery
– Rizwan Shaukat
16 hours ago
Pardeep Dhingra thankx for correction but complete piece of code is the part of jquery
– Rizwan Shaukat
16 hours ago
No one is answering my question. Why?
– Rizwan Shaukat
16 hours ago
No one is answering my question. Why?
– Rizwan Shaukat
16 hours ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53370878%2fhow-to-put-the-two-input-text-fields-on-the-same-line-through-jquery%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Pardeep Dhingra thankx for correction but complete piece of code is the part of jquery
– Rizwan Shaukat
16 hours ago
No one is answering my question. Why?
– Rizwan Shaukat
16 hours ago