My all code working fine. I implement fadeout effect of jquery in script but this function is not working .hide()
working but not fadeto()
. please help me. thanks you so much.
$(function() {
$( "#slider").slider({
stop: function(event, ui) {
$("#list").fadeTo("fast", 0.03);
$.ajax({
url: "search.php",
cache: false,
async: false,
data: "",
success: function(html){
$("#list").fadeTo("fast", 1开发者_开发技巧);
$("#list").html(html);
}
});
}
});
});
My showing simple HTML Table on click. here is my table
<table cellpadding="2" cellspacing="2" border="0" width="500px">
<tr class="title">
<td align="center" width="10%" bgcolor="#CCCCCC">Shape</td>
<td align="center" width="11%"bgcolor="#CCCCCC">Weight</td>
<td align="center" width="11%"bgcolor="#CCCCCC">Certificate</td>
<td align="center" width="12%"bgcolor="#CCCCCC">Cut</td>
<td align="center" width="10%"bgcolor="#CCCCCC">Color</td>
<td align="center" width="10%"bgcolor="#CCCCCC">Clarity</td>
<td align="center" width="12%"bgcolor="#CCCCCC">Price</td>
<td align="center" width="12%"bgcolor="#CCCCCC">View Detail</td>
</tr>
<tr>
<td align="center" width="10%"> </td>
<td align="center" width="11%"> </td>
<td align="center" width="12%"> </td>
<td align="center" width="10%"> </td>
<td align="center" width="10%"> </td>
<td align="center" width="12%"> </td>
<td align="center" width="12%"> </td>
</tr>
</table>
If you're trying to fade the table in/out. You don't have the id on the table set!
<table cellpadding="2" cellspacing="2" border="0" width="500px">
should be
<table id="list" cellpadding="2" cellspacing="2" border="0" width="500px">
精彩评论