dsgk40568 2018-08-28 13:09 采纳率: 0%
浏览 114

如何根据从数据库中填充的下拉框中的值获取文本字段中的数据?

ScreenShot

Please refer the attached image. We have the document_id and document_name in document_master table. Now, when we select the document name from the dropdown, we need to display the corresponding document_id (for the selected document name) from the document_master table. Can you please help us how to fix this?

  • 写回答

1条回答 默认 最新

  • dongzhuo2010 2018-08-28 13:52
    关注

    you can always do an AJAX call to retrieve the related data from database. But, isn't it weird to retrieve the doc_ID based on doc_Name? usually its the other way around

    评论

报告相同问题?