This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes exchanging values from right to left on button click Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "exchanging values from right to left on button click" Watch "exchanging values from right to left on button click" New topic
Author

exchanging values from right to left on button click

Bhavesh Sangwan
Ranch Hand

Joined: Aug 08, 2012
Posts: 57
Hi experts! I have a problem...
In below attached screen shot with this question ,I have three UI components - I'm getting employee list on top... And list of all work(work_codes) in left container and list of work assigned to particular employee(emp_work) on right container. Now I want to push values from left to right container and want to update employee_work table in database.
So please help me solving this procedure using jsp, servlet and jdbc... I mean what to use to push values from one container to another and then update these values on database...



[Thumbnail for screenshot.png]

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

You're barking up the wrong tree.... you'll need JavaScript for that.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bhavesh Sangwan
Ranch Hand

Joined: Aug 08, 2012
Posts: 57
Ok Thanks sir... but please provide me the java script code which should be used here...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Bhavesh Sangwan wrote:Ok Thanks sir... but please provide me the java script code which should be used here...

That's not how things work around here. You write the code and we'll help you with any problems you are having with it.
Bhavesh Sangwan
Ranch Hand

Joined: Aug 08, 2012
Posts: 57
I'm sending my code... Now suggest changes where need and then again Ill make my own efforts .. so ... help peoples....
AssignWork.jsp

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Scriptlets in a JSP? In 2012?

In any case -- this is a JavaScript issue so posting JSP code is not helpful. Post the rendered HTML and your JavaScript code, and let us know where you are having problems.
Bhavesh Sangwan
Ranch Hand

Joined: Aug 08, 2012
Posts: 57
oh Sorry ... Bear ! I'll post it again after replacing all the scriptlet code by JSTL library... I'll also find some java script and post here... after then you can help me ..
Lets cook some code myself and let you make that Tasty...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: exchanging values from right to left on button click
 
Similar Threads
validating the arraylist values in struts
Struts 1.1: Help needed with html:select, html:options, html:optionsCollection
validating the arraylist values in struts
Facing problem with checkbox implementation
Doubts in jsp