Login    Forum    Search    FAQ   Blog

Board index » Client-Side Development » Javascript




 Page 1 of 1 [ 2 posts ] 



Author Message
 Post subject: Read only problem in java script
 Post Posted: Tue Aug 04, 2009 7:46 pm 
Offline

Joined: Sat Feb 21, 2009 2:42 pm
Posts: 52
i have one textbox in page,
now i want to validate weather the textbox is empty or not in javascript
if the textbox is not readonly


Top 
 Post subject: Re: Read only problem in java script
 Post Posted: Tue Aug 04, 2009 7:48 pm 
Offline

Joined: Sat Feb 21, 2009 11:06 am
Posts: 1794
function Checksubmit(txtval)
{
var values=document.getElementById(dateval[txtval);
if (values.value =="")
{
alert('Enter Value');
return false;
}
return false;
}

//call this function in textbox onblur event and textbox id as a parameter


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 2 posts ] 




Board index » Client-Side Development » Javascript


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron