problem with image buttom in crm4
-
Samstag, 28. April 2012 07:17
hi
this is my code.
//at first i create an nvarchar fild with name msc_confirmbutton
crmForm.all.msc_confirmbutton_d.style.visibility = ‘hidden’;
if (crmForm.all.msc_confirmbutton != null)
{
var field = crmForm.all.msc_confirmbutton_c;var html = “<table border=’0? cellspacing=’0? cellpadding=’0?><tr><img width=’32? height=’32? style=’cursor:hand’ src= 'http://crmsrc/files/img/images2.jpg' alt=’Click button’ onclick=’Button_OnClick()’ /></tr></table>”;
field.innerHTML = html;
}
Button_OnClick = function()
{
alert(“hello”);
}- Bearbeitet shabnam2012 Sonntag, 29. April 2012 04:34
Alle Antworten
-
Samstag, 28. April 2012 08:57
Hi,
What's the error or problem you are getting with the button?
If possible, can you please let us the error or screenshot and it will help me or anyone to answer your question.
Thanks.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 