Hi All,

Iam using RSF, I need to clear a form after user clicks on submit button using onLoad function in Javascript. Can anyone give me the solution. immediate help is appreciated

I don't know if I understand you correctly. But if you just using a normal JTextField then you just go:

yourTextField.setText("");

Hope this is what you meant.

i need use onload function in javascript not java code

You have then posted in the wrong forum bharashisomethingsomething.. Check under web development > Javascript/DHTML/AJAX.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.