🎜> option value="-1" selected="selected">Please select a role
; > < /select> .id);">Add /a>
<script><br>function Bind(thisObj, thisObjID) {<br> alert("Bind");<br> var $td = $(thisObj).parents('tr').children(' td');<br>
<br> // alert($td.eq(0).text()); //The content of the first td<br>
<br>// alert($td.eq(1).text());//The content of the second td<br>// alert($td.eq(2).find("select"). val());//The selected value of the third td content<br>// alert($td.eq(3).find("select").val());
<p> var resourceBlockID = $td.eq(1).attr("id");//The value of the ID of the second Td, attr("id"); Get the Id value of the object<br> var roleId = $td.eq(2).find("select").val();<br> var operationId = $td.eq(3).find("select").val();<br> alert( "ResourceId" resourceBlockID);</p> alert("RoleId" roleId);<p> alert("Operation ID" operationId); </p>
<p>var helptime = new Date().getTime();<br>}<br></script>
Statement:
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