hi,
how to clear text in the text fields of the userid and password fields after click the submit button...

Write an empty string to them, a.k.a. '' That's the best answer you could hope for with as little info as you provided.

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.