Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pass value from JSP to Javascript

Status
Not open for further replies.

heeeep72

Programmer
Dec 15, 2004
33
CH
Hi all,

I have a rather easy question:
I use the following line in my jsp:

Code:
	<tr>
		<td>
	    	<fmt:message key="mc.page.errors.title"/>
		</td>
	</tr>


the "mc.page.errors.title" i get certainly from a .properties file (several titles, for several languages)
I want to give this value to a variable on the Javascript side. (I want to use it in a js function)
Can somebody tell me what would the EXACT syntax be for this?

many thx,
heeeep

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top