Send a variable(attribute) froma page to a macro as input
Hi,
I have a macro with an input parameter, want to send an attribute like a tag id or tag variable to it. as an example:
this is my html tag:
<a id="ContentPlaceHolderDefault_LanguageSwitcher_1_LinkButtonSwitcher" title="Change page language to Swedish" href="javascript:__doPostBack('ctl00$ctl00$ctl00$ContentPlaceHolderDefault$LanguageSwitcher_1$LinkButtonSwitcher','')">In English</a>
that itself is a macro as this:
<umbraco:Macro Alias="ChangeLanguage" runat="server"></umbraco:Macro> and want to send the id of the tag to another macro as this:
Send a variable(attribute) froma page to a macro as input
Hi,
I have a macro with an input parameter, want to send an attribute like a tag id or tag variable to it. as an example:
this is my html tag:
<a id="ContentPlaceHolderDefault_LanguageSwitcher_1_LinkButtonSwitcher" title="Change page language to Swedish" href="javascript:__doPostBack('ctl00$ctl00$ctl00$ContentPlaceHolderDefault$LanguageSwitcher_1$LinkButtonSwitcher','')">In English</a>
that itself is a macro as this:
<umbraco:Macro Alias="ChangeLanguage" runat="server"></umbraco:Macro>
and want to send the id of the tag to another macro as this:
<umbraco:Macro lan="sv" Alias="GetIngress" runat="server"></umbraco:Macro>
Appreciate if somebody help me.
is working on a reply...