Hello everyone, I want to pass $bean->id value of Case module to a javascript variable in view.edit.php file of "Case" module. I want to know, whether it is possible without using AJAX and if it is, then I would like to know, HOW TO?
$script=<<EOC <script type="text/javascript"> //here we can use the $type_of_account variable directly var account_type='$type_of_account '; </script> EOC;
echo $script variable after parent::display(); method in the view.edit.php file
$script=<<EOC <script type="text/javascript"> //here we can use the $type_of_account variable directly var account_type='$type_of_account '; </script> EOC;
echo $script variable after parent::display(); method in the view.edit.php file