25 Temmuz 2016 Pazartesi

BAKILACAK KONULAR:

1-)Changing the color of a clicked table row using jQuery


http://stackoverflow.com/questions/17703710/changing-the-color-of-a-clicked-table-row-using-jquery

http://jsfiddle.net/jrthib/HVw7E/2/

http://www.mkyong.com/jquery/how-to-highlight-table-row-record-on-hover-with-jquery/

2-)How to get a table cell value using jQuery?

http://stackoverflow.com/questions/376081/how-to-get-a-table-cell-value-using-jquery



3-) Pass input tag value to as href parameter

http://stackoverflow.com/questions/27148673/pass-input-tag-value-to-as-href-parameter


form açıldığında ilk kayıt seçili olsun

<button id="button"> Highlight row </button>
<script type="text/javascript">


        //$("#tableData >tbody > tr:last").css({"background": "papayawhip", "font-weight":"bold"})        $("#tableData tbody tr:eq(1)").removeClass('highlighted');
        $("#tableData tbody tr:eq(1)").addClass('highlighted');
        var customerId = $("#tableData").find("td:first").html();
        $('#customerid').val(customerId);//alert(customerId);
    //alert(customerId);
</script>

Hiç yorum yok:

Yorum Gönder