mummySpring
Dec 6th, 2007, 03:51 PM
hi all,
how to take the spring bind path's value into javascript.
i can do this,
-jsp-
<form name="form1">
<spring bind: path="user.name">
-javascript-
document.form1.name.value;
but if its like this,
<spring bind: path="user.address.state">
i m guessing id be like this
document.form1.address.state.value;
the javascript error console gave me error saying no such properties.
please help me...
thanks in advance
how to take the spring bind path's value into javascript.
i can do this,
-jsp-
<form name="form1">
<spring bind: path="user.name">
-javascript-
document.form1.name.value;
but if its like this,
<spring bind: path="user.address.state">
i m guessing id be like this
document.form1.address.state.value;
the javascript error console gave me error saying no such properties.
please help me...
thanks in advance