i have a Listview with dynamics rows that read them from database.
now i want when mouse is going on one of it’s data perform special work on it.(like bellow code)
$(document).ready(function(){
$("*").mouseover(function () {//this line
$("*").animate({ //this line
width: "120px",
height:"120px",
}, 150);
});
my problem is that what i must write instead *,because their ids a changing dynamically and i can’t user from class .
how can i do that?
Although it’s not a direct answer to your question but in order to get the client id of any asp.net server control you could simple use:
var controlId = '<%= txtBox1.ClientID %>' //where txtBox1 is the actual id specified inmarkupsimilarly, you can pass the client id of any control to javascript function, e.g.
//and to call this animate function from aspx markup