I am trying to use buttons to open a URL in another window, and also to execute
some JavaScript, and I can't get either to work with onclick.


<s:form name="joinForm">
    <s:submit type="button" value="Join" onclick="return
ibmWebSigninPrelinkaction(this);" href="/social/aggregator/signin"></s:submit>
</s:form>


<s:form name="personalizeProfileForm">
    <s:submit type="button" value="Personalize Your Profile" href="#"
        onClick="javascript: window.open('${editProfileUrl}', '_blank', null);
return false;"></s:submit>
</s:form>


Neither of these onclick actions seem to be doing anything. Can someone please
tell me what I'm doing wrong, or if there's a better way to do this?


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to