i have class
class mymodule_modulename_Block_Adminhtml_Product_Edit_Options_Option extends Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Option
in which i write the function to get id
$testid="{{id}}";
$collection = Mage::getModel('advanceoption/advanceoptgroup')->getCollection();
$collection->addFieldToFilter('product_id',$this->getProduct()->getId());
$collection->addFieldToFilter('option_ids',$optionid);
but it will not pick the id
if page loaded then it will show the id.
Any help appreciated