<SCRIPT language="javascript">
function box(){
if (document.getElementById('adminUserName').value == " "){
alert("UserName is Empty");
}else{
alert("UserName Successfully Save");
}
}
</script>
=====================================
<td>User Name:</td>
<td colspan="2">
<div id="adminUserName">
<html:text property="adminUserName"/>
</div>
</td>
agent7 0 Light Poster
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.