Mister Anderson

Greenhorn
+ Follow
since May 09, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mister Anderson

Hi

I am trying to call a Java localiser function ( returning a string) and use this string as a label for a radio button.

The problem is the java function needs to use double " ", which the radio button does not like !

Here is a snippet of before code which works fine:
lbl = "<input readonly type=radio name=\"pv_lbl\" value=\"M\" checked>Mr";

Here is the above with "Mr" being replaced by the java function:
lbl = "<input readonly type=radio name=\"pv_lbl\" value=\"M\" checked><%=localiser.getText("FORMCOM_6")%>";

I have tried to escape the quotes, ie <%=localiser.getText(\"FORMCOM_6\")%>
But this does not work.

This Q is more of a javascript Q so apologies in advance,

Any Ideas?

"There is no spoon"
[ May 09, 2006: Message edited by: Bear Bibeault ]
17 years ago
JSP