javascript:
This is inside a .js file.
function PreviewOverlay( linkClicked ) {
if (linkClicked == 'print') {
$('someformid').linkDestination.value = 'PrintingOverlay';
//Setting the hidden field value within the form.
alert($('someformid').linkDestination.value); //To check value
added of hidden field.
}
$('PreviewOverlay').showOverlay();
}
function showOverlayFrom(linkDestination){
alert("Hidden Field Value: "+linkDestination); //This is to check
whether I can get the hidden field value here into another function after
the form submit.
}
.tml
Continue //The value in the hidden field will have the value to decide which
overlay to open.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Passing-value-of-Hidden-Field-Property-to-Javascript-Function-in-tml-tp3412730p3412845.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]