Hi Team,
I am trying to access category attribute value in the javascript function on an event using the following code in detail_in page:
var var_category=document.main_form.elements["SET.category"].value;
But it is not returning any value.
I have also added the following tag of category (not present out of box) under <form name="frm002"> tag:
<input type="hidden" name="SET.category" value="$args.category">
Still it is not returning any value (checked through alert).
How I can fetch the value of category in javascript function?
Although it is successfully fetching the value of customer using the code:
var var_customer=document.main_form.elements["SET.customer"].value;
Kindly suggest.
Regards,
Balram Singh Deswal