-1
我有有許多按鈕的頁面有動態鏈接如下 -Concat JS functon鏈接到URL?
<a class="li_element_button" href="#" title="Click to edit/delete" onclick="javascript:myFunction(param1, param2, 'update')">Name</a>
和靜態URL-
<http://localhost:8080/mysoftware/runet.do?activity=submit&mod=myMode#>
我想Concat的動態的js鏈接URL喜歡這 -
http://localhost:8080/mysoftware/runet.do?activity=submit&mod=myMode#+a class="li_element_button" href="#" title="Click to edit/delete" nclick="javascript:myFunction(param1, param2, 'update')">Name</a>
如何使用Javascript來做到這一點,請幫助我。