the submit page is as below.
Here actually when i select first drop down value as Yes, the second dropdown gets activated. and when i select Query in the second dropdown option, there is a textarea shown up. here when i enter text and hit enter, i want to see the query(written in submit.jsp), but here when i enter the text in textarea and hit an enter it is just making a newline within the text area and if i replace the below part with alert(params) it is showing the parameters correctly
please let me know how do i see this query string when i hit enter, so that i can use it for my form submition.