<html>
<head>
    <meta http-equit="Content-type" content="text/html" charset="utf-8">
    <title>动态选择头像logo</title>
    <script type="text/javascript">
        function check(obj){
            $("showImage").src = obj.value;
        }
        function $(obj){
            return document.getElementById(obj);
        }
    </script>
</head>
<body>
<?php
    echo '<img src="'.$_POST['mylogo'].'" style="padding:10px;">';
?>
    <img >
    <br>
    <form action="" method="post">
        <select name="mylogo" >
            <option value="1.png">1.png</option>
            <option value="2.png">2.png</option>
        </select>
        <input type="submit" name="submit" title=""/>
    </form>
</body>
</html>

php使用post动态选择头像和js事件动态改变头像

相关文章:

  • 2021-05-08
  • 2021-11-17
  • 2023-01-09
  • 2021-06-30
  • 2021-05-22
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2021-12-09
  • 2021-06-04
相关资源
相似解决方案