hello...
i m developing a website..in which i need to maintain the value of a few variables throughout the project...can anyone tell me how this is done...(i mean the best way to do it)..i m using javascript and jsp on the frontend
maintining value of variables in javascript
Moderator: General Moderators
Re: maintining value of variables in javascript
JSP, like ASP & PHP, all run on the server - the client never sees or knows about it.
There is no way to use only Javascript to pass variables between pages. You could use Javascript to change some form values & submit a form to get around between pages. You can also use Javascript to access cookies, which might be your least intrusive way.
There is no way to use only Javascript to pass variables between pages. You could use Javascript to change some form values & submit a form to get around between pages. You can also use Javascript to access cookies, which might be your least intrusive way.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.