TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Istudent Rana
1.4k
360
85k
How do update text field with selected text from dropdown
Jan 23 2018 10:39 AM
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
Answers (
1
)
Chart using jquery Chart.js
how to store multiple selected values to temp variable