submit a value from span field

后端 未结 3 2018
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-16 15:50

i have a from with a submit button

after using jquery the page will have :

for(var i=0 ; i <10 ; i++){
    \'\         


        
3条回答
  •  忘掉有多难
    2021-01-16 16:17

    Add an ID to your span element

     your variable text here
    

    Then use jquery to get the text out

    var spanText = $('#ElementID').html();
    

提交回复
热议问题