Niklas Ekman <niklas.ekman <at> citat.se> writes:

> I'm trying to think of how to implement a DirectLink that takes a parameter
> from a javascript prompt() response. Do anybody know how to implement this?

Try something like:

<script ...>
function promptForParam() {
  window.location = document.anchors.link1.href+"&sp=s"+prompt("Enter:", "");
}
</script>

<a id="link1" jwcid="@DirectLink" onclick="promptForParam()">foo</a>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to