So there are all sorts of issues here with your code. First, you seem to be expecting XML returned from the $.load() function. That may very well be however, the $.load() doens't give 2 beans about the data. It just simply dumps it into the selector you've chosen. Secondly, you're overcomplicating the JSP....
If you are expecting XML in return and you need to parse it, you won't be able to use $.load(). You'd be better of with $.get()/$.post()
Joined: Aug 27, 2008
Then how to load the text box, actually I have a dropdown box in html,
to be loaded from database (in jsp).
Todo this, I just tried with this small example.
ok, here am trying the populate textbox, whose value has to be populated from jsp,,
Jsp code :::