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?
Hi, If js you are writing in view.edit.php you can assign the value $type_of_account directly to a javascript varible.
$script=<<EOC <script type="text/javascript"> //here we can use the $type_of_account variable directly var account_type='$type_of_account '; </script> EOC;
Hi, If js you are writing in view.edit.php you can assign the value $type_of_account directly to a javascript varible.
$script=<<EOC <script type="text/javascript"> //here we can use the $type_of_account variable directly var account_type='$type_of_account '; </script> EOC;