2015-08-28 12 views
-4
function setValue(obj,path) 
{ 
    var expected_path="<%= session.getAttribute("expected_path") %>"; 
    alert("expected_path"+expected_path); 
    var path=path; 

    if ((expected_path != "null" || expected_path != null) && path != expected_path) 
     { 
     alert("Error:- Attached Object is not from the expected path,Please commit the object in correct path and map again"); 
     alert("Expected_path >> " +expected_path); 
     } 
    else 
     { 
     window.opener.setFileAndRevisionProperties(obj); 
     window.close(); 
     } 
} 

我想讓我的警戒盒更時尚和個性化。怎麼做?。我想讓我的警示框更時尚,更個性化。如何做到這一點?

+0

「更時尚和個性化」不是一個問題陳述。 – TZHX

回答

0

請注意警報框的外觀從瀏覽器到瀏覽器的外觀有何不同?這是因爲它是一個系統對象。你不能設計它。您需要創建自己的HTML元素並複製警報的功能。

相關問題