When starting to work with CRM, one of the first things you learn is how to put some script on the onChange event. It's easy to do this and it really works.
Let's say you want to fire that script at the first moment your page is loaded.
In CRM 3.0 you could do that writing a single line :
crmForm.all.yourfield.FireOnChange();
When starting to work with CRM 4.0 I tried to use the same code but it didn't work anymore. I was sooooo disappointed and I hardly found out the solution. That's why i thought of sharing it with you.
The code for firing a script put on the onchange event for CRM 4.0 is:
yourfield_onchange0();
I hope this helps. Happy coding! :)
Showing posts with label fire onchange. Show all posts
Showing posts with label fire onchange. Show all posts
Friday, September 05, 2008
OnChange Event
Subscribe to:
Posts (Atom)