jquery - edit data in bootstrap modal via php

one text

Solution:

your input field has the id="functionData", but you try to address the input field with a non existent class. change $('.functionData') to $('#functionData').

$('.functionData').val(...) is for classes <input class="functionData" ...

$('#functionData').val(...) is for id's <input id="functionData" ...

Source