J
JS
I have a textbox and a button. Sometimes this textbox will be disabled and
other times it will be enabled. When its disabled I guess its value is null.
But is the the text string "null" or is it just nothing??
I have a function that will need to check the value of this textbox when its
disabled like:
<input name="search" type="text" id="search">
String word = (String)request.getParameter("search");
but when its disabled will it make sense to hold null in a String??
other times it will be enabled. When its disabled I guess its value is null.
But is the the text string "null" or is it just nothing??
I have a function that will need to check the value of this textbox when its
disabled like:
<input name="search" type="text" id="search">
String word = (String)request.getParameter("search");
but when its disabled will it make sense to hold null in a String??