jQUERY HIDE FUNCTION IN MSCRM 2011 ROLLUP 12
-
Monday, January 28, 2013 3:08 PM
Dear ALL;;
i am getting a description field value into the html editor box .everything is working fi9 a part from that i am hdiidng the description field after getting the description text in tothe text area through jquery . the description field not hiding . after rollup 12 update in mscrm 2011 . please help
All Replies
-
Monday, January 28, 2013 5:24 PMModerator
-
Monday, January 28, 2013 7:45 PM
Hi Andrii here is the code
function txtendingformelquote() {
jQuery(document).ready(function () {
Xrm.Page.getAttribute("description").setSubmitMode("always");
$('#description_d').append(
'<textarea id="wysiwygiff" style="ime-mode: auto; height: 100%;" name="wysiwygiff" maxlength="100%" >' + $("#description").val() + '</textarea>'
);
$('#description').hide();
var hb_silk_icon_set_blue = $("#wysiwygiff").css("width","200%").htmlbox({
toolbars:[ ["cut","copy","paste","separator_dots","bold","italic","underline","strike","sub","sup","separator_dots","fontsize","fontfamily","fontcolor"],
["left","center","right","justify","separator_dots","ol","ul","indent","outdent","separator_dots","link","unlink","image"]],
icons:"silk",
skin:"blue",
idir:"..//WebResources/new_/HtmlBox/images/",
about:false
});
});
};
function endingformelquote() {
Xrm.Page.getAttribute("description").setValue($("#wysiwygiff").val());
return true;
}
-
Tuesday, January 29, 2013 6:33 AMModerator
Hello,
Have you tried following code:
Xrm.Page.getControl("description").setVisible(false); -
Tuesday, January 29, 2013 7:00 AM
Hi Anwar,
Just Navigate to Administration ---> System Settings ----> Customization Tab
Make sure the below options are checked,
Thanks And Regards,
Srikanth
-
Tuesday, January 29, 2013 8:12 AM
Hi Andrii;
i f i use your given code that hide the text area as well means completely disapear
-
Tuesday, January 29, 2013 8:14 AM
Hi srikanth ;
i did that but still the same problem. one thing i wanna know that in rollup 12 they say that we can not used like.text property in javascrip but do you have any info what we should for .text and others in roll up 12
-
Tuesday, January 29, 2013 8:51 AM