Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How do update text field with selected text from dropdown
Istudent Rana
Jan 23 2018 10:39 AM
153
How do i update data-reason attribute with selected value from drop down in my input element?
<table class='reorderTablerow'>
<tbody>
<tr>
<td>
<input data-item='item A' data-itemid='001' data-reason='' class='quanityborderinput' type=text/>
</td>
<td>
<select>
<option>Select reason</option>
<option>Out of stock</option>
<option>Damaged item</option>
</select>
</td>
</tr>
<tr>
<td>
<input data-item='item B' data-itemid='002' data-reason='' class='quanityborderinput' type=text/>
</td>
<td>
<select>
<option>Select reason</option>
<option>Out of stock</option>
<option>Damaged item</option>
</select>
</td>
</tr>
</tbody>
</table>
Reply
Upload Source Code
Select only zip and rar file.
Post
Reset
Answers (
1
)
Chart using jquery Chart.js
Uncaught Error: Bootstrap's JavaScript requires jQuery