I have a hidden input variable called str.
I am assigning "abc" value to it.
Then I try to assign null value or let's say null reference to it. But I couldn't.
Edit
part of code.
Hidden Field...
<input id="str" name="str" type="hidden" value="" />
I also use jQuery.
if ($(str).val() == "abc") {
$("#str").val(null);
}