Ajinkya
Ajinkya

Reputation: 111

How to access value return by javascript function into jsp scriplet tag?

I am new to javascript , so need your help.

I want to access a value return by javascript function into my jsp scriplet on changing a select option.my javascript function is in same jsp file. please help me..

Upvotes: 0

Views: 2216

Answers (1)

Konza
Konza

Reputation: 2173

You cant. Javascript is running on the client seide and jsp is on the server side :)

Use an ajax request to send your values to server.

Ajax.. Thats what you are looking for

Upvotes: 1

Related Questions