You are viewing limited content. For full access, please sign in.

Question

Question

Value Not Clearing

asked on January 31, 2018 Show version history

I have this field that I'm trying to clear:

But it won't clear (the radio button clears perfectly ... and hides):

$(document).ready(function(){
//set fields to read only
  $('#Field91-1').attr('checked', false); //Clear NO Radio Button
  $('.wccAction').hide(); //Hide WCC Action field
  $('.wccComments input').val(""); //Clear WCC rejection comments field
//  $('.wccComments').hide(); //Hide WCC rejection comments field
});  //close document.ready

I already tried:

$('.wccComments input').val("").change(); //Clear WCC rejection comments field

Any other suggestions?

0 0

Answer

SELECTED ANSWER
replied on January 31, 2018

Instead of input, try textarea like:



$('.wccComments textarea').val("");

 

3 0
replied on January 31, 2018

Thank you so much!

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.