Hi I am looking to set the value of <portlet:param> tag using java script.
Here is my existing code
<form name="frmname" method="post"
enctype="multipart/form-data" action="<portlet:actionURL><portlet:param name="page" value="mainview"/></portlet:actionURL>">
And I am setting the value of the portlet:param tag by calling the following javascript on the page load event.
function callingonpageload()
{
var gettag = document.getElementById ("frmname:page");
gettag = window.opener.document.getElementById("Baseline:EngineModel").value;
alert("Selected Value"+gettag.value);
}
This function is triggered and the the alert box output is following.
selected valueundefined