0
工作的Visual Studio 2010:Asp.Net 4.0JaveScript get_postBackElements()細胞不能在Firefox
我試圖讓第一小區的GridView的與以下JavaScript函數回發的細胞採集[0]。它適用於IE8和IE9,但不適用於Firefox或Safari。任何人有想法?
function onBeginRequest(sender, args) {
var send = args.get_postBackElement().id;
if (args.get_postBackElement().cells != null) {
var menu = args.get_postBackElement().cells[0].innerHTML;
if (menu.indexOf("vehicles") != -1) {
send = "ProjectClick";
}
}
if (displayWait(send) == "yes") {
$find('PleaseWaitPopup').show();
}
}