문제

My web page send and email after button is click. I need a messageBox after clicking the send button, the messagebox got display just normal text but if i add a variable value it wont work, any idea how i can go about these?

var Admin =  doc.getItemValueString("Admin");
var scriptCode= "alert('Email send to the admin:' + Admin )";
view.postScript(scriptCode); 
도움이 되었습니까?

해결책

Fix your code to look like this:

var scriptCode = "alert('Email send to the admin: " + Admin + "')";
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top