I have a java script that does some computation and I placed it in AgentTicketPhone.dtl
When ticket is submitted, I want this java script to be called and assign the computed value to message body ("Body" variable)
Can someone help me with this?
Thanks
Kalavathi
How to assign a value to ticket "Body"
Moderator: crythias
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: How to assign a value to ticket "Body"
Code: Select all
$('#RichText').val( 'new value' );
Code: Select all
CKEDITOR.instances.RichText.setData( 'new value' );
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de