Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WestWind/database filter help
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01516279
Message ID:
01519255
Views:
70
Reading the whitepages now.

Couldn't I just take the table name and put it in the JS function so when that function is called, it displays the table?

I mean if I have the code in the HTML to physically display the table, it seems only logical that if I place that within the JS function it will only get display when it runs.

>>Unfortunately I don't use the latest WebConnection so I don't have access to that stuff (that I know of).
>>
>
>Download the demo version and take a look at it. I (think) you can see the source to that stuff.
>
>Or, take a look at jQuery and some of the plug-ins available for it (it's a Javascript library). For example, this one: http://jquery.bassistance.de/tooltip/demo/
>
>You have two different approaches you can actually use - if you don't have a lot of information to display in the pop-up boxes, you can embed them in a hidden div tag with an ID inside of the page you render to the client. Then write some JS to toggle the visibility on/off of the associated div tag when they click on a link. Or, if you've got more information (or you only want to do the lookup when they click on the link), you'll want to go the other route where you do an AJAX request for it.
>
>If you're not very familiar with Javascript or jQuery you can download my session from last year's Southwest Fox conference from my website.
>
>http://www.rcs-solutions.com/downloads.aspx
>
>Scroll all the way to the bottom. It includes a bunch of examples you can view through a VFP application.
>
>Unfortunately, since it's just an intro I didn't cover AJAX callbacks. But it may help you at least get to the point where you can start to see how things fit together. Take a look at the AJAX sections of the jQuery docs (for example, the Get() method).
>
>http://api.jquery.com/jQuery.get/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform