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:
01519812
Views:
88
>Makes sense, but since I'm only dealing with displaying one table when a link is clicked I think putting it in the function would work. Not to mention it wont have to load both tables every time a record is searched for, only when the link is clicked.
>
>My only problem is I don't know how to simply add the table name to the JS function...
>
>
function back(v) {document.getElementById("v").value=v;document.forms[1].submit()}
>
>If that's the function, where does the table code go?
>

I'm not really sure what you're asking. If you are planning on embedding the table into the HTML and hiding it by default (and only showing it when they click on a link or button), then you just put the HTML in as you normally would, ex:
<html id="myTable" style="display:none">
   ...
</html>
In your function: document.getElementById("myTable")

However, it doesn't make sense to set the value of a table - a table doesn't have a value property.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform