我有一個列表視圖與動態行從數據庫中讀取它們。 現在我當鼠標在其上的數據的一個會想對它進行特別的工作。(像婁代碼)如何將參數從Asp傳遞給jquery?
$(document).ready(function(){
$("*").mouseover(function() {//this line
$("*").animate({ //this line
width: "120px",
height:"120px",
}, 150);
});
我的問題是什麼,我必須寫,而不是*
,因爲他們的ID的動態,我改變不能從class
用戶。 我該怎麼做?你控制static
像ClientIDMode="Static"
,給你的控制,你還記得一個ID的
這個動畫功能,你可以嘗試使用活()API 。 http://api.jquery.com/live/ –