Writing Javascript with Velocity can be a little tricky, but just
remember that you use Velocity to set the values for constant fields
acted on by the Javascript function.

Do not write a Javascript function that tries to manipulate a Velocity
context object at runtime, because the Velocity context is not
available once the request leaves the server.  Javascript is run by
the client browser, which has no access to Velocity.

Barbara Baughman
X2157

On Thu, 23 Jun 2005, Veerappan Sridhar wrote:

> Hi,
>  Pls help how i can get the database values in javascript.
> I got list of values retrieved from backend and stored in arraylist
> like
> $alroles,
>  so now i can pass these values to javascript and access.
> Scenario:
> i have n number of text box,the text box(i) contains some values that
> values should be checked with the backend values for that i need a
> function to pass and compare in javascript.
>
> So pls help me
>
> Thanks
> Sridhar
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to