Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Samir H.
  Where is Samir H.?
 Yogyakarta
 Indonesia
 Samir H.
 To: dragon 5
  Where is dragon 5?
 Johor
 Malaysia
 dragon 5
 Tags
Subject: RE: how to call javascript alert aspx wit vb
Thread ID: 310770 Message ID: 310823 # Views: 25 # Ratings: 0
Version: Not Applicable Category: .NET
Date: Saturday, June 25, 2011 6:38:28 PM         
   


> Dear all,
>
> May I know how to call the javascript alert message when we forgot to insert a value into a textbox.
> I was using aspx and vb.
>
> Thanks.
>
> Best reagards,
> dragon 5

In javascript, it's something like this:

var cValue = document.getElementById('yourTxtBoxDiv').value;
if (cValue == "") {
alert('You must type a value...');
return false;
}


Regards
Samir

ENTIRE THREAD

how to call javascript alert aspx wit vb Posted by dragon 5 @ 6/24/2011 8:58:07 AM
RE: how to call javascript alert aspx wit vb Posted by subhankar pandey @ 6/25/2011 10:27:08 AM
RE: how to call javascript alert aspx wit vb Posted by Samir H. @ 6/25/2011 6:38:28 PM