Day: March 25, 2016

Bootstrap 3 : 侧边菜单插件 Sliding Side Menu/Panel with jQuery and Bootstrap – BootSideMenu

A simple lightweight javascript plugin used to create side menus/panels that smoothly slide out from the edge of your screen when toggled, built with jQuery and Bootstrap 3. How to use it: 1. Load the Bootstrap’s stylesheet and BootSideMenu.css in the head section of the web page. <link rel="stylesheet" href="//netdna.bootstrapcdn.com/boo… Read More

同一表单内设置两个或两个以上的提交按钮 Two submit buttons in one form

给相同 name就可以了, 类似radio的和checkbox的用法: You can give each input a different value and keep the same name: <input type="submit" name="action" value="Submit" /> <input type="submit" name="action" value="Update" /> <input type="submit" name="action" value="Delete" /> php接收: Then in the code check to see which was triggered: if ($_… Read More