nowadays i am upto java script, jquery etc. i am facing little problem.
i am writing a text message inside CASE block , it's a long string when displayed:
Record has been saved successfully Note: If head already exists for the concerned department than your head selection would not have been saved. but i want it like this:
Record has been saved successfully Note: If head already exists for selected department than your head selected would not have been saved. function ShowMsg() { var MessageStatus = $("#HiddenFieldSetMessage").val(); switch (MessageStatus) { case 'SavedButHeadMightExist': $("#Msg").text("Record has been saved successfully Note: If head already exists for the concerned department than your head selection would not have been saved"); $("#ModalHeader").text("Success"); break; case 'NotSaved': $("#Msg").text("Record not inserted"); $("#ModalHeader").text("Error"); break; } </script>