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?
Hey mike, sorry I mistakenly wrote $bean->id. I want to retrieve id of relate field account and using that id I want to retrieve all field of that account and from that I want to use type of that account and store that in javascript variable. Example:
$oAccount = new Account(); $oAccount->retrieve($bean->accounts_cases_1_name); $type_of_account = $oAcccount->type;
And I want to use value of $type_of_account in javascript variable. Is it possible?
Hey mike, sorry I mistakenly wrote $bean->id. I want to retrieve id of relate field account and using that id I want to retrieve all field of that account and from that I want to use type of that account and store that in javascript variable. Example:
$oAccount = new Account(); $oAccount->retrieve($bean->accounts_cases_1_name); $type_of_account = $oAcccount->type;
And I want to use value of $type_of_account in javascript variable. Is it possible?