关于jquery 取值有关问题

WBOY
Release: 2016-06-13 13:31:23
Original
746 people have browsed it

求助关于jquery 取值问题


  尺寸:未选择
 

     
  • S

  •  
  • L

  •  
  • SL

  •  
  • LL

  •  



$(function(){
  $(".pro_size li span").click(function(){
  $(this).parents("ul").siblings("strong").text( $(this).text() );
   
  })
})

php提交时如何 获取选中的尺寸?

请求帮助

------解决方案--------------------

尺寸:未选择

  • S

  • L

  • SL

  • LL







把选中值放到隐藏域中,然后$_POST['size']就可以获得选中值
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!