Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to use a Session object in a Javascript function

800409Jan 5 2005 — edited Jan 5 2005
I have an object that I have set in my session.

On my jsp I want to pull it out of my session and use it as a parameter for a javascript function. But I am not sure how to do that... the function call is below... I want to assign a value to ifFormat (last variable in function) But I am not sure what to use inside javascript.
<script type="text/javascript">
	Calendar.setup({inputField:"f_date_dfFirstPmtDate",
                                          button:"f_trigger_dfFirstPmtDate",
                                         singleClick:true,
                                          ifFormat:XXXXX});
</script>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 2 2005
Added on Jan 5 2005
2 comments
197 views