View Full Version : Need to compare html text area values by using java script

07-11-2011, 04:44 PM
I have one html text area in my JSP file. when i click on that text area, a pop-up will come, in that pop-up i have list of items. So after selecting a item from that pop-up list, need to click okay. so that text area will update with the selected value.

In this case, i need to compare the first text area value and updated text area value. How can i do that in Java Script.

07-12-2011, 12:18 AM
First - JSP file is JAVA. You are asking a question in the JAVASCRIPT section. They are not the same.

Second - Why do you need to compare two file that you wrote yourself?