r k

r k

  • NA
  • 111
  • 16.7k

How to save values from modal popup to html table

Apr 9 2021 12:32 AM
My modal has few fields like & some more I want to save this data to Html table & on final save it to the database. Please help I am looking for web method Ajax call
  1. <div class="form-group">  
  2. <label for="message-text" class="col-form-label">Subject:</label>  
  3. <textarea class="form-control" id="message-text"></textarea>  
  4. </div>  
  5. <div class="col-sm-* col-md-3 col-lg-3">  
  6. <label for="message-text" class="col-form-label">Message:</label>  
  7. <div id="msg"></div>(From editor)  
  8. </div>  
  9. <div class="col-sm-* col-md-3 col-lg-3">  
  10. <label for="sub-input" class="col-2 col-form-label">Priority </label>  
  11. <div class="col-2">  
  12. <input class="form-control" id="msg-input" onkeyup="numericFilter(this);" data-bind="value: priority" />  
  13. </div>  
  14. </div>  
  15. <button type="button" class="btn btn-primary" onclick="save()">Save changes</button>  

Answers (2)