【发布时间】:2015-12-30 15:18:46
【问题描述】:
我想从传单弹出窗口提交表单以修改 mysql 数据库中的数据。
lyrClients.eachLayer(function(e){
if(e.feature.properties.IdClient==IdClient){
e.bindPopup("<form method='post' action='ajax/filldbclient.php'>First name:<br><input type='text' name='firstname' value='Your first name' ><br>Last name:<br><input type='text' name='RaisonSociale' value='Your last name'></form><input class='click' type='submit' name='submit' value='Sent'>" );
e.openPopup();
}
});
这不起作用,因为正如here 解释的那样,点击事件似乎在弹出窗口中被禁用。但是我没有找到使它起作用的方法..(我的意思是提交)在此先感谢您的帮助。
【问题讨论】:
标签: mysql forms popup submit leaflet