954,219 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Simple JS question(DWR)


Saurav

Aquofusion Testing
Hey Saurav



skills:


saurav
Light Poster
28 posts since Jul 2004
Reputation Points: 10
Solved Threads: 2
 

Hi saurav!
I'm not sure what is in the dwr package, but you might not be referencing it correctly? Perhaps it is

util.getValue("firstName");


? However you can do the same like this:

var text=document.getElementById("firstName").value;
alpha_foobar
Junior Poster
182 posts since May 2005
Reputation Points: 20
Solved Threads: 5
 

But you'd need to put an ID on the for input fields - can you do this with JSP? I don't see why not?

But you may just have your naming wrong?

alpha_foobar
Junior Poster
182 posts since May 2005
Reputation Points: 20
Solved Threads: 5
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You