[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 91
  • Last Modified:

clear textbox content using jquery

Hi Expert,

I am able to enable all disabled textbox in asp.net repeater using jquery:
 $(".checkGroup INPUT[type='text']:disabled").removeAttr('disabled');

but I am not able to remove all textbox content using:
 $(".checkGroup INPUT[type='text']:text").removeAttr('text');

any help or comment will be appreciated!
0
jssong2000
Asked:
jssong2000
1 Solution
 
Rainer JeschorCommented:
Hi,
please try this:
 $(".checkGroup INPUT[type='text']").each(function() {
        $(this).val('');
    });

Open in new window

HTH
Rainer
0
 
jssong2000Author Commented:
Thank you.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now