Javascript variable access in HTML

后端 未结 7 1314
余生分开走
余生分开走 2020-12-13 09:44

Say I have the following JavaScript in a HTML page




        
7条回答
  •  囚心锁ツ
    2020-12-13 10:33

    In raw javascript, you'll want to put an id on your anchor tag and do this:

    
    
    
    
    I need the value of "splitText" variable here
    
    
    

提交回复
热议问题