hi,
i have a java script method for showing the alert message. its work fine.
function openAlert(type, msg, method, width, height)
{
switch (type) {
case "Info":
var oWnd = radalert(msg, width, height, ' ');
var popupElement = oWnd.get_popupElement();
popupElement.className = popupElement.className + " infoIcon";
break;
}
}
but when i called this way with some special characters
openalert('Info','Please enter proper delimiters i.e(' ' ',' ' | ' '-' ) with start and end characters, ' ', 400,300);
(' ' ',' ' | ' '-' ) space,coma, | and - characters i am trying to pass this function but not working.
please tell how can the special characters be passed to the java script method so that they can be shown in message.
i have a java script method for showing the alert message. its work fine.
function openAlert(type, msg, method, width, height)
{
switch (type) {
case "Info":
var oWnd = radalert(msg, width, height, ' ');
var popupElement = oWnd.get_popupElement();
popupElement.className = popupElement.className + " infoIcon";
break;
}
}
but when i called this way with some special characters
openalert('Info','Please enter proper delimiters i.e(' ' ',' ' | ' '-' ) with start and end characters, ' ', 400,300);
(' ' ',' ' | ' '-' ) space,coma, | and - characters i am trying to pass this function but not working.
please tell how can the special characters be passed to the java script method so that they can be shown in message.