Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
 To: John Prescott
  Where is John Prescott?
 Bromley
 United Kingdom
 John Prescott
 Tags
Subject: RE: Hiding a listbox on an HTML page
Thread ID: 365246 Message ID: 365247 # Views: 64 # Ratings: 2
Version: Visual FoxPro 9 Category: VFP and .NET
Date: Saturday, December 22, 2012 7:26:58 PM         
   


> My Webconnect Fox program fires a range of variables to an HTM page. If a particular variable is saying 'No', I need to hide a list box on the form of the HTM page.
> How do I go about doing that in the HTM page? I suspect it may require javascript of something else. Would anyone have some code for doing this?
>
>
> John Prescott
> Bromley, Kent. UK

If the listbox has an ID you can get an handle to it with the GetElementById function

loListBox=Document.GetElementById('rso')


where Document will be the web page document object. Then you will have to change its display to none.

loListBox.style.display = 'none'


Regards
Tushar
http://weblogs.foxite.com/tushar/

ENTIRE THREAD

Hiding a listbox on an HTML page Posted by John Prescott @ 12/22/2012 7:13:59 PM
RE: Hiding a listbox on an HTML page Posted by tushar @ 12/22/2012 7:26:58 PM
RE: Hiding a listbox on an HTML page Posted by Dan Baker @ 12/23/2012 10:04:54 PM
RE: Hiding a listbox on an HTML page Posted by John Prescott @ 12/24/2012 8:37:44 AM